Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001815/0.001815, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.00209/0.00209, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 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 1.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.364/3.364, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.69e-05, allocations: 3.375 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002206/0.002233, allocations: 0.9062 MB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.003701, allocations: 0.9272 MB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.003771, allocations: 4 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.028e-05/0.003812, allocations: 15.8 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.003919, allocations: 21.92 kB / 0.8793 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.004151, allocations: 43.89 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.004346, allocations: 131.6 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.004491, allocations: 37.66 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.004731, allocations: 86.2 kB / 0.8796 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.004838, allocations: 39.88 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.004871, allocations: 12 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.052e-05/0.004922, allocations: 16 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.004963, allocations: 35.84 kB / 0.8797 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.005014, allocations: 31.92 kB / 0.8797 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.005272, allocations: 164.2 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005274, allocations: 0 / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.31e-07/0.005275, allocations: 1.656 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.005279, allocations: 0 / 0.8798 GB, free: 4.23 MB / 0.8386 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.0006954/0.005974, allocations: 467.6 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.00601, allocations: 8.031 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.006258, allocations: 39.12 kB / 0.8803 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.006536, allocations: 161.2 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.006552, allocations: 4.375 kB / 0.8805 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.006573, allocations: 12.36 kB / 0.8805 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.006803, allocations: 101.8 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.006818, allocations: 11.86 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.006833, allocations: 4 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.006845, allocations: 7.984 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.007029, allocations: 57.56 kB / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.007676, allocations: 387.4 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.007948, allocations: 87.16 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.008051, allocations: 43.67 kB / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.008071, allocations: 0 / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.008107, allocations: 37.33 kB / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.008108, allocations: 0 / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003641/0.008472, allocations: 117.9 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.008517, allocations: 55.34 kB / 0.8814 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.008714, allocations: 223.9 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.008743, allocations: 29.7 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.008862, allocations: 162.7 kB / 0.8818 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.008893, allocations: 19.86 kB / 0.8818 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.008964, allocations: 39.36 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002705/0.009234, allocations: 0.5 MB / 0.8823 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.009323, allocations: 27.94 kB / 0.8823 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.009475, allocations: 114.4 kB / 0.8825 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.009626, allocations: 59.8 kB / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009627, allocations: 0 / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002309/0.009858, allocations: 105.6 kB / 0.8826 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.009872, allocations: 4 kB / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.009876, allocations: 0 / 0.8826 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.009892, allocations: 7.938 kB / 0.8826 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.009972, allocations: 11.98 kB / 0.8826 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.009986, allocations: 0 / 0.8826 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.01006, allocations: 15.89 kB / 0.8826 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.01007, allocations: 0 / 0.8826 GB, free: 1.137 MB / 0.8386 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.0001499/0.01022, allocations: 176.5 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.01026, allocations: 7.953 kB / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.0103, allocations: 20.77 kB / 0.8828 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01031, allocations: 3.938 kB / 0.8828 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01031, allocations: 0 / 0.8828 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.01032, allocations: 4 kB / 0.8829 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.01054, allocations: 168.6 kB / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01055, allocations: 0 / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.01062, allocations: 8 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01062, allocations: 0 / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01063, allocations: 3.984 kB / 0.883 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.01064, allocations: 8 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01064, allocations: 3.938 kB / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.01096, allocations: 239.8 kB / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.01098, allocations: 7.906 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.01101, allocations: 8 kB / 0.8833 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.0111, allocations: 7.984 kB / 0.8833 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.01118, allocations: 19.91 kB / 0.8833 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.01118, allocations: 0 / 0.8833 GB, free: 400 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001199/0.0113, allocations: 160.3 kB / 0.8835 GB, free: 240 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0113, allocations: 4 kB / 0.8835 GB, free: 236 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000233/0.01153, allocations: 19.94 kB / 0.8835 GB, free: 216 kB / 0.8386 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.0001345/0.01167, allocations: 103.2 kB / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.01192, allocations: 79.53 kB / 0.8837 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01192, allocations: 0 / 0.8837 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.01204, allocations: 40.14 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.01229, allocations: 18.48 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.01279, allocations: 241 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.01289, allocations: 89.31 kB / 0.884 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.08e-05/0.01294, allocations: 4 kB / 0.884 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.013, allocations: 20.48 kB / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.013, allocations: 0 / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.004369/0.01737, allocations: 1.122 MB / 0.8851 GB, free: 14.47 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.346089377067983]