Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001977/0.001977, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002127/0.002127, allocations: 165 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.434/1.434, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.635/2.635, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.133e-05/4.433e-05, allocations: 6.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.004052/0.004096, allocations: 0.8907 MB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.006612, allocations: 0.9334 MB / 0.9527 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.006713, allocations: 0 / 0.9527 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.021e-05/0.006774, allocations: 7.875 kB / 0.9527 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.006934, allocations: 23.73 kB / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.007262, allocations: 47.88 kB / 0.9528 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.007548, allocations: 123.6 kB / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.007755, allocations: 41.67 kB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.008074, allocations: 79.81 kB / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.008226, allocations: 47.81 kB / 0.9531 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.008275, allocations: 12 kB / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.008353, allocations: 19.98 kB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.008407, allocations: 27.92 kB / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.008505, allocations: 35.91 kB / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.00889, allocations: 167.4 kB / 0.9533 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.008894, allocations: 0 / 0.9533 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.092e-06/0.008895, allocations: 0 / 0.9533 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.008903, allocations: 3.938 kB / 0.9533 GB, free: 9.094 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001014/0.009917, allocations: 361.7 kB / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.009962, allocations: 12.02 kB / 0.9537 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.01036, allocations: 36.83 kB / 0.9537 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.01081, allocations: 155.8 kB / 0.9539 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.01084, allocations: 8.375 kB / 0.9539 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.01088, allocations: 8.375 kB / 0.9539 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.01128, allocations: 102.2 kB / 0.954 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.0113, allocations: 3.938 kB / 0.954 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.01132, allocations: 8 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.01133, allocations: 4 kB / 0.954 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.0117, allocations: 63.95 kB / 0.9541 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009496/0.01265, allocations: 320.2 kB / 0.9544 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.01313, allocations: 82.55 kB / 0.9545 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.01332, allocations: 40.83 kB / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.01335, allocations: 4 kB / 0.9545 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.01339, allocations: 34.56 kB / 0.9545 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.083e-06/0.0134, allocations: 0 / 0.9545 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006959/0.01409, allocations: 117.9 kB / 0.9547 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.01416, allocations: 63.33 kB / 0.9547 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.01439, allocations: 147.6 kB / 0.9549 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.01444, allocations: 33.7 kB / 0.9549 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.01457, allocations: 108.1 kB / 0.955 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.01462, allocations: 27.78 kB / 0.955 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.01471, allocations: 21.72 kB / 0.955 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.01494, allocations: 322.8 kB / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.01511, allocations: 27.98 kB / 0.9554 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.01539, allocations: 106 kB / 0.9555 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.01572, allocations: 64.89 kB / 0.9555 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01573, allocations: 0 / 0.9555 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004761/0.0162, allocations: 109.6 kB / 0.9556 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.01622, allocations: 4 kB / 0.9556 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01623, allocations: 0 / 0.9556 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.01625, allocations: 3.938 kB / 0.9556 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.01641, allocations: 15.92 kB / 0.9557 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.01642, allocations: 4 kB / 0.9557 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.01659, allocations: 11.95 kB / 0.9557 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.01661, allocations: 11.98 kB / 0.9557 GB, free: 6.508 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001737/0.01679, allocations: 121.8 kB / 0.9558 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.01685, allocations: 7.953 kB / 0.9558 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.0169, allocations: 12.78 kB / 0.9558 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.01691, allocations: 3.938 kB / 0.9558 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.01691, allocations: 0 / 0.9558 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01692, allocations: 0 / 0.9558 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.01724, allocations: 145.2 kB / 0.956 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01724, allocations: 0 / 0.956 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.01738, allocations: 11.98 kB / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01738, allocations: 4 kB / 0.956 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.0174, allocations: 7.938 kB / 0.956 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.0174, allocations: 3.938 kB / 0.956 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.01741, allocations: 3.938 kB / 0.956 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.01792, allocations: 195.8 kB / 0.9562 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.01796, allocations: 15.89 kB / 0.9562 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.018, allocations: 4 kB / 0.9562 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.01821, allocations: 8 kB / 0.9562 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.01831, allocations: 23.89 kB / 0.9562 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01833, allocations: 0 / 0.9562 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001416/0.01847, allocations: 112.8 kB / 0.9563 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.01847, allocations: 0 / 0.9563 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004638/0.01893, allocations: 16 kB / 0.9564 GB, free: 5.773 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001953/0.01913, allocations: 107.2 kB / 0.9565 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.01957, allocations: 64.06 kB / 0.9565 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01957, allocations: 192 / 0.9565 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.01976, allocations: 39.91 kB / 0.9566 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.02026, allocations: 15.94 kB / 0.9566 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007554/0.02101, allocations: 217.1 kB / 0.9568 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.02115, allocations: 89.17 kB / 0.9569 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.199e-05/0.02125, allocations: 12 kB / 0.9569 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.02132, allocations: 16.48 kB / 0.9569 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of SimCode: time 6.21e-07/0.02132, allocations: 0 / 0.9569 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of Templates: time 0.006859/0.02818, allocations: 1.115 MB / 0.958 GB, free: 4.078 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.517736665904522]