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.0008459/0.0008459, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008445/0.0008445, allocations: 177.9 kB / 23.21 MB, free: 1.344 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 0.8773/0.8773, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.571/1.571, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] 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 1.272e-06/1.272e-06, allocations: 0 / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.596e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001556/0.001582, allocations: 0.8876 MB / 0.9526 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.002528, allocations: 0.9371 MB / 0.9535 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.002602, allocations: 0 / 0.9535 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.002642, allocations: 11.86 kB / 0.9535 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.021e-05/0.002732, allocations: 19.8 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.002962, allocations: 47.88 kB / 0.9536 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.003085, allocations: 135.6 kB / 0.9537 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.003209, allocations: 33.7 kB / 0.9537 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.003383, allocations: 83.8 kB / 0.9538 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.003456, allocations: 35.89 kB / 0.9539 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.003478, allocations: 12 kB / 0.9539 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.003522, allocations: 16 kB / 0.9539 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.003544, allocations: 35.84 kB / 0.9539 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.003578, allocations: 35.91 kB / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.003763, allocations: 167.4 kB / 0.9541 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.003766, allocations: 0 / 0.9541 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.743e-06/0.003768, allocations: 7.984 kB / 0.9541 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.003773, allocations: 0 / 0.9541 GB, free: 0.5703 MB / 0.9011 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.0004637/0.004237, allocations: 361.7 kB / 0.9545 GB, free: 192 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.004271, allocations: 8.031 kB / 0.9545 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.004423, allocations: 36.77 kB / 0.9545 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.004643, allocations: 156.2 kB / 0.9547 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.004656, allocations: 8.375 kB / 0.9547 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.00467, allocations: 16.31 kB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.004828, allocations: 104.4 kB / 0.9548 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.004837, allocations: 3.938 kB / 0.9548 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004849, allocations: 4 kB / 0.9548 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.004854, allocations: 4 kB / 0.9548 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.004961, allocations: 59.97 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.005356, allocations: 320.2 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.00553, allocations: 82.61 kB / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.005586, allocations: 36.83 kB / 0.9553 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.005603, allocations: 4 kB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.005619, allocations: 34.56 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.083e-06/0.005621, allocations: 0 / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002422/0.005863, allocations: 121.8 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.005895, allocations: 55.34 kB / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.005977, allocations: 148.5 kB / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.005993, allocations: 33.7 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.006048, allocations: 108.1 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.00607, allocations: 23.95 kB / 0.9558 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.006109, allocations: 25.7 kB / 0.9558 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.006183, allocations: 322.8 kB / 0.9561 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.006239, allocations: 31.98 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/0.006317, allocations: 102 kB / 0.9562 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/0.006405, allocations: 60.81 kB / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.006407, allocations: 4.125 kB / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001251/0.006532, allocations: 113.5 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.006546, allocations: 4 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006551, allocations: 0 / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.006565, allocations: 3.938 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.854e-05/0.006613, allocations: 15.92 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.006619, allocations: 8.031 kB / 0.9564 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.006659, allocations: 15.94 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.006666, allocations: 4 kB / 0.9564 GB, free: 13.99 MB / 0.9167 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 6.895e-05/0.006735, allocations: 117.8 kB / 0.9566 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.006751, allocations: 7.953 kB / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.006775, allocations: 16.77 kB / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.006778, allocations: 7.922 kB / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.006782, allocations: 0 / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.006785, allocations: 0 / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.006904, allocations: 145.2 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006905, allocations: 0 / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.006938, allocations: 11.98 kB / 0.9567 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006939, allocations: 4 kB / 0.9567 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.006949, allocations: 11.98 kB / 0.9568 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.00695, allocations: 0 / 0.9568 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.006952, allocations: 3.938 kB / 0.9568 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.00711, allocations: 195.7 kB / 0.9569 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.007122, allocations: 7.953 kB / 0.957 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.007139, allocations: 8 kB / 0.957 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.00719, allocations: 11.98 kB / 0.957 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.007236, allocations: 19.91 kB / 0.957 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.00724, allocations: 0 / 0.957 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.007286, allocations: 111.2 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007286, allocations: 0 / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001462/0.007432, allocations: 16 kB / 0.9571 GB, free: 13.25 MB / 0.9167 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 9.032e-05/0.007523, allocations: 99.25 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.007701, allocations: 79.88 kB / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.007703, allocations: 0 / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.00775, allocations: 31.98 kB / 0.9573 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.007995, allocations: 8.281 kB / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.008353, allocations: 258.5 kB / 0.9576 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.944e-05/0.008412, allocations: 93.31 kB / 0.9577 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.008453, allocations: 16.48 kB / 0.9577 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of SimCode: time 7.32e-07/0.008453, allocations: 0 / 0.9577 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of Templates: time 0.002287/0.01074, allocations: 1.378 MB / 0.959 GB, free: 11.24 MB / 0.9167 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: 6.285125564783812]