Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 92.08 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 183.5 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.9 MB / 0.667 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 8 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6608/0.6611, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001004/0.6622, allocations: 0.5887 MB / 0.9563 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008247/0.663, allocations: 0.8634 MB / 0.9571 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.6631, allocations: 1.375 kB / 0.9571 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.6631, allocations: 12.95 kB / 0.9572 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.206e-05/0.6632, allocations: 9.141 kB / 0.9572 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.6634, allocations: 41.16 kB / 0.9572 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.6635, allocations: 105.5 kB / 0.9573 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.6637, allocations: 40.84 kB / 0.9573 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.6638, allocations: 30.8 kB / 0.9574 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.6638, allocations: 43.23 kB / 0.9574 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.6639, allocations: 6.781 kB / 0.9574 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.6639, allocations: 2.781 kB / 0.9574 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.6639, allocations: 11.23 kB / 0.9574 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.664, allocations: 62.38 kB / 0.9575 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.575e-05/0.6641, allocations: 96.11 kB / 0.9576 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6641, allocations: 5.094 kB / 0.9576 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6641, allocations: 3.938 kB / 0.9576 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.6641, allocations: 0 / 0.9576 GB, free: 6.273 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007607/0.6649, allocations: 464.4 kB / 0.958 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.6649, allocations: 10.28 kB / 0.958 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.6649, allocations: 13.72 kB / 0.9581 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.6651, allocations: 188.1 kB / 0.9582 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.6651, allocations: 3.094 kB / 0.9582 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.6651, allocations: 9.438 kB / 0.9582 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.6653, allocations: 99.88 kB / 0.9583 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6654, allocations: 5.266 kB / 0.9583 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.6654, allocations: 7.938 kB / 0.9584 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.6654, allocations: 1.719 kB / 0.9584 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.6656, allocations: 70.69 kB / 0.9584 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.6663, allocations: 425.9 kB / 0.9588 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.6664, allocations: 63.39 kB / 0.9589 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.6665, allocations: 35.69 kB / 0.9589 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.6665, allocations: 0 / 0.9589 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.6665, allocations: 38.56 kB / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.6665, allocations: 6.156 kB / 0.959 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000356/0.6669, allocations: 113.9 kB / 0.9591 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.6669, allocations: 55.41 kB / 0.9591 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.6671, allocations: 159.7 kB / 0.9593 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.6671, allocations: 27.45 kB / 0.9593 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.6671, allocations: 104.8 kB / 0.9594 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.6672, allocations: 18.95 kB / 0.9594 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.6672, allocations: 16.08 kB / 0.9594 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.6672, allocations: 325.8 kB / 0.9597 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.992e-05/0.6673, allocations: 34.23 kB / 0.9598 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.6674, allocations: 32.08 kB / 0.9598 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.6676, allocations: 56.08 kB / 0.9599 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6676, allocations: 0 / 0.9599 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000202/0.6678, allocations: 108.6 kB / 0.96 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6678, allocations: 5.781 kB / 0.96 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6678, allocations: 5.125 kB / 0.96 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6678, allocations: 0 / 0.96 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.6679, allocations: 12.7 kB / 0.96 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.668, allocations: 3.938 kB / 0.96 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.6681, allocations: 32.84 kB / 0.96 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.6682, allocations: 5.219 kB / 0.96 GB, free: 4.094 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 6.74e-05/0.6682, allocations: 123.2 kB / 0.9601 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.6683, allocations: 13.25 kB / 0.9602 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.6683, allocations: 14.22 kB / 0.9602 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6683, allocations: 5.188 kB / 0.9602 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6683, allocations: 7.938 kB / 0.9602 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6683, allocations: 1.188 kB / 0.9602 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.6685, allocations: 199 kB / 0.9604 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6685, allocations: 0 / 0.9604 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.6685, allocations: 12.58 kB / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6686, allocations: 0 / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.6686, allocations: 5.25 kB / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6686, allocations: 0 / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6686, allocations: 5.406 kB / 0.9604 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.6688, allocations: 192 kB / 0.9606 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.6688, allocations: 92.67 kB / 0.9607 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.6689, allocations: 7.984 kB / 0.9607 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.6691, allocations: 28.78 kB / 0.9607 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.6691, allocations: 13.61 kB / 0.9607 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.6691, allocations: 9.062 kB / 0.9607 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.6692, allocations: 112.2 kB / 0.9608 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6692, allocations: 0 / 0.9608 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002282/0.6694, allocations: 17.88 kB / 0.9609 GB, free: 3.309 MB / 0.7169 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 (5): * Single equations (assignments): 5 * 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 8.807e-05/0.6695, allocations: 99.48 kB / 0.9609 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.6698, allocations: 75.95 kB / 0.961 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6698, allocations: 0 / 0.961 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.176e-05/0.6699, allocations: 39.3 kB / 0.9611 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.6702, allocations: 8.125 kB / 0.9611 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.6706, allocations: 269.1 kB / 0.9613 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.6707, allocations: 0.6983 MB / 0.962 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.6707, allocations: 15.55 kB / 0.962 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6708, allocations: 4 kB / 0.962 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.002757/0.6735, allocations: 1.283 MB / 0.9633 GB, free: 1.551 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches