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.001504/0.001504, allocations: 112.5 kB / 16.42 MB, free: 6.496 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.001629/0.00163, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.52/1.52, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.404/2.404, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7551, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001991/0.7572, allocations: 0.8875 MB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.758, allocations: 0.8685 MB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.7581, allocations: 4.844 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.7581, allocations: 10.17 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/0.7582, allocations: 11.84 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.7584, allocations: 39 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.7585, allocations: 114.8 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.7587, allocations: 42.61 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.7588, allocations: 46 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.947e-05/0.7589, allocations: 52.06 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.7589, allocations: 10.91 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.759, allocations: 10.56 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.759, allocations: 22.61 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.759, allocations: 50.8 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.7592, allocations: 130 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7592, allocations: 0.75 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7592, allocations: 3.938 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7592, allocations: 0.9375 kB / 1.091 GB, free: 3.988 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008105/0.7601, allocations: 458.1 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.7601, allocations: 9.156 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.7602, allocations: 18.73 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.423e-05/0.7603, allocations: 185.1 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.7603, allocations: 6.5 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.7603, allocations: 10.56 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.7605, allocations: 87.14 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7605, allocations: 192 / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.7605, allocations: 13.31 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.7606, allocations: 2.125 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.7607, allocations: 64.17 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.7615, allocations: 403.2 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.7617, allocations: 60.61 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.7618, allocations: 32.7 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.7618, allocations: 0.7812 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.7618, allocations: 36.17 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.7619, allocations: 3.938 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0004131/0.7623, allocations: 113.6 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.7623, allocations: 52.78 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.7625, allocations: 157.9 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.7625, allocations: 26.52 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.7625, allocations: 105.5 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.7626, allocations: 18.84 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.7626, allocations: 21.62 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.7627, allocations: 324.8 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.463e-05/0.7628, allocations: 32.47 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.7629, allocations: 31.44 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.763, allocations: 49.08 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.763, allocations: 0.8125 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002056/0.7632, allocations: 93.83 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.7632, allocations: 9.406 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7633, allocations: 0.8125 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7633, allocations: 1.156 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.7634, allocations: 8.406 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7634, allocations: 1.328 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.7636, allocations: 34.69 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.7636, allocations: 5.844 kB / 1.093 GB, free: 2.008 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 (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.476e-05/0.7637, allocations: 115.8 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.7637, allocations: 13.47 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.7637, allocations: 15.98 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7638, allocations: 0.7812 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.7638, allocations: 0.7031 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.7638, allocations: 87.69 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.7638, allocations: 2.062 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.764, allocations: 34.39 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.7641, allocations: 15.75 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003554/0.7645, allocations: 182.1 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002192/0.7647, allocations: 261.8 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.923e-05/0.7648, allocations: 34.56 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.7649, allocations: 116.6 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of Backend: time 5.31e-07/0.7649, allocations: 4 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.7653, allocations: 115.9 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004855/0.7658, allocations: 0.6437 MB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of Templates: time 0.004293/0.7701, allocations: 1.514 MB / 1.096 GB, free: 484 kB / 0.8575 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