Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009237/0.0009237, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9523/0.9523, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.942/1.942, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.856e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001622/0.001651, allocations: 0.8748 MB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.002656, allocations: 0.9385 MB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.002742, allocations: 8.5 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.00278, allocations: 11.86 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.002861, allocations: 12.11 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.00305, allocations: 63.84 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.003232, allocations: 140.3 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.00336, allocations: 43.89 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.003457, allocations: 79.8 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.003511, allocations: 43.86 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.003538, allocations: 15.94 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.003555, allocations: 16.69 kB / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.003582, allocations: 31.89 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.003613, allocations: 37.17 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003729, allocations: 95.62 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003732, allocations: 0 / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003732, allocations: 1.625 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.003737, allocations: 0 / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004384/0.004175, allocations: 337.8 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.004214, allocations: 8.031 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.00426, allocations: 28.91 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.004432, allocations: 150.3 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.004444, allocations: 8.375 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.004464, allocations: 17.62 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.00465, allocations: 197 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.00466, allocations: 192 / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.004672, allocations: 4.375 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.004679, allocations: 5.625 kB / 0.7632 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.589e-05/0.004735, allocations: 43.91 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.005128, allocations: 300.8 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.416e-05/0.005203, allocations: 51.02 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.005228, allocations: 21.94 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.005246, allocations: 4 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.005269, allocations: 34.56 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.00527, allocations: 0.8438 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000134/0.005404, allocations: 73.8 kB / 0.7637 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.00543, allocations: 56.56 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.005503, allocations: 138.6 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005514, allocations: 25.7 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.005564, allocations: 124.5 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.005584, allocations: 35.69 kB / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.005619, allocations: 30.45 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.005695, allocations: 318.8 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.005714, allocations: 12.73 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.005734, allocations: 8 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.005782, allocations: 46.66 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005785, allocations: 0 / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.4e-05/0.005859, allocations: 69.67 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.005869, allocations: 9.656 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.005872, allocations: 0 / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.005883, allocations: 0.5938 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.005959, allocations: 29.3 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.005962, allocations: 0 / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.005995, allocations: 19.83 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.006001, allocations: 4 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/0.006054, allocations: 117.1 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.006072, allocations: 11.98 kB / 0.7647 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.222e-05/0.006164, allocations: 78.38 kB / 0.7647 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006166, allocations: 0 / 0.7647 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.006168, allocations: 3.938 kB / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.006171, allocations: 0 / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.006367, allocations: 264.3 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.00637, allocations: 7.984 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.006414, allocations: 23.94 kB / 0.765 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.006417, allocations: 4 kB / 0.765 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.006423, allocations: 3.938 kB / 0.765 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.006426, allocations: 7.984 kB / 0.765 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006427, allocations: 0 / 0.765 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.48e-05/0.006522, allocations: 182 kB / 0.7652 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.006533, allocations: 13.39 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.006543, allocations: 3.938 kB / 0.7652 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.006593, allocations: 11.98 kB / 0.7652 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.006623, allocations: 13.39 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.006628, allocations: 0 / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.006652, allocations: 28.83 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006652, allocations: 0 / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001342/0.006786, allocations: 29.23 kB / 0.7653 GB, free: 0.9922 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001082/0.006894, allocations: 84.36 kB / 0.7654 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.006988, allocations: 48.44 kB / 0.7654 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.006994, allocations: 4.625 kB / 0.7654 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.007023, allocations: 25.44 kB / 0.7655 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.007195, allocations: 22.83 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.007597, allocations: 246.2 kB / 0.7657 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.592e-05/0.007643, allocations: 71.28 kB / 0.7658 GB, free: 452 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.007672, allocations: 8.484 kB / 0.7658 GB, free: 444 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.007742, allocations: 67.38 kB / 0.7659 GB, free: 376 kB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.007742, allocations: 0 / 0.7659 GB, free: 376 kB / 0.7136 GB Notification: Performance of Templates: time 0.002458/0.0102, allocations: 1.008 MB / 0.7669 GB, free: 15.41 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.999927616678178]