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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001655/0.001655, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5968/0.598, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00261/0.6007, allocations: 0.9259 MB / 0.95 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.6022, allocations: 0.8731 MB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.6024, allocations: 1.438 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.184e-05/0.6025, allocations: 7.922 kB / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.6027, allocations: 21.02 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.603, allocations: 30 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.6032, allocations: 105.3 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.6035, allocations: 59.08 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.6037, allocations: 40.05 kB / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.6039, allocations: 47.55 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.6039, allocations: 10.94 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.554e-05/0.604, allocations: 10.03 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.604, allocations: 26.66 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.6041, allocations: 46.73 kB / 0.9512 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.6043, allocations: 125 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.6043, allocations: 0 / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6043, allocations: 3.938 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.6044, allocations: 0 / 0.9514 GB, free: 7.383 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.001096/0.6055, allocations: 470.2 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/0.6055, allocations: 14.12 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.6056, allocations: 10.41 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.6058, allocations: 187.3 kB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.6058, allocations: 7.875 kB / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.6059, allocations: 9.094 kB / 0.952 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.6061, allocations: 96.33 kB / 0.9521 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.6062, allocations: 192 / 0.9521 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.6062, allocations: 9.281 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.6062, allocations: 1.156 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.6064, allocations: 71.23 kB / 0.9522 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007884/0.6072, allocations: 411.9 kB / 0.9526 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.6074, allocations: 54.62 kB / 0.9526 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.6075, allocations: 32.09 kB / 0.9527 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.6075, allocations: 1.156 kB / 0.9527 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.6075, allocations: 35.78 kB / 0.9527 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.6075, allocations: 0 / 0.9527 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003499/0.6079, allocations: 115.8 kB / 0.9528 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.6079, allocations: 55.41 kB / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.608, allocations: 155.7 kB / 0.953 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.608, allocations: 26.77 kB / 0.9531 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.6081, allocations: 106.1 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.6081, allocations: 13.52 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.6082, allocations: 26.77 kB / 0.9532 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.6082, allocations: 317.3 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/0.6083, allocations: 31.28 kB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.982e-05/0.6084, allocations: 27.86 kB / 0.9536 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.6085, allocations: 53.56 kB / 0.9536 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6085, allocations: 0 / 0.9536 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001812/0.6087, allocations: 104.3 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.6087, allocations: 5.156 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6088, allocations: 1.688 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.6088, allocations: 0 / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.6089, allocations: 18.36 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.6089, allocations: 3.938 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.6091, allocations: 27.66 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.6091, allocations: 0 / 0.9538 GB, free: 5.184 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 8.588e-05/0.6092, allocations: 120.9 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.6092, allocations: 11.55 kB / 0.9539 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.6092, allocations: 15.17 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6093, allocations: 0 / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6093, allocations: 3.938 kB / 0.9539 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.6093, allocations: 1.562 kB / 0.9539 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.6094, allocations: 203.6 kB / 0.9541 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6095, allocations: 0 / 0.9541 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.6095, allocations: 13.33 kB / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6095, allocations: 1 kB / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.6095, allocations: 2.031 kB / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6096, allocations: 0 / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6096, allocations: 7.938 kB / 0.9541 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.6098, allocations: 194 kB / 0.9543 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.6098, allocations: 86.36 kB / 0.9544 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.6099, allocations: 1.344 kB / 0.9544 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.6101, allocations: 22.06 kB / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.6101, allocations: 22.41 kB / 0.9544 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.6102, allocations: 1.781 kB / 0.9544 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.628e-05/0.6102, allocations: 119.4 kB / 0.9545 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6103, allocations: 0 / 0.9545 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002366/0.6105, allocations: 17.72 kB / 0.9546 GB, free: 4.398 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 0.0001234/0.6106, allocations: 101.5 kB / 0.9547 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.6109, allocations: 60.84 kB / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6109, allocations: 0 / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.611, allocations: 43.03 kB / 0.9548 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.6113, allocations: 9.031 kB / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.6117, allocations: 223.3 kB / 0.955 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.6119, allocations: 0.6932 MB / 0.9557 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.614e-05/0.6119, allocations: 11.86 kB / 0.9557 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.612, allocations: 11.62 kB / 0.9557 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/0.612, allocations: 4 kB / 0.9557 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of Templates: time 0.0036/0.6156, allocations: 1.175 MB / 0.9568 GB, free: 2.754 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/jenkins/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