Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 116.1 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.001431/0.001431, allocations: 187.9 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.15 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.528/2.528, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 63.84 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9531/0.9547, 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.EquipmentOnOff): time 0.001985/0.9567, allocations: 0.808 MB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.9581, allocations: 1.158 MB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.9582, allocations: 0.9375 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.9582, allocations: 5.484 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.9583, allocations: 14.64 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.9588, allocations: 142.5 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.959, allocations: 147.1 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.9591, allocations: 38.36 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.9592, allocations: 56.22 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.9594, allocations: 63.05 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.9594, allocations: 13.03 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.9595, allocations: 28.81 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.9595, allocations: 23.31 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.9596, allocations: 50.23 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.9599, allocations: 148.7 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9599, allocations: 1.344 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9599, allocations: 0 / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.9599, allocations: 4 kB / 1.091 GB, free: 3.801 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005476/0.9605, allocations: 436.1 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.9605, allocations: 8.344 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.9606, allocations: 12.53 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.294e-05/0.9606, allocations: 181.6 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.9607, allocations: 5.547 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.9607, allocations: 12.38 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.9609, allocations: 86.8 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.9609, allocations: 192 / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.961, allocations: 5.578 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.961, allocations: 2.094 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.9612, allocations: 55.36 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.9618, allocations: 379.4 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.9619, allocations: 62.52 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.9621, allocations: 27.62 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.9621, allocations: 1.422 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.9623, allocations: 80.16 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.9623, allocations: 4.75 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004436/0.9628, allocations: 125.8 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.9628, allocations: 56.91 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.9629, allocations: 119.6 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.9629, allocations: 33.66 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.963, allocations: 103.1 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.963, allocations: 19.44 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.9631, allocations: 38.94 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.9631, allocations: 323.7 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.9633, allocations: 51.86 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.9635, allocations: 77.47 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.9638, allocations: 121 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9638, allocations: 0 / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004406/0.9642, allocations: 190.4 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.9643, allocations: 39.03 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9643, allocations: 5.375 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.9643, allocations: 5.344 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.9644, allocations: 9.453 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.9644, allocations: 1.5 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.9646, allocations: 38.92 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.9647, allocations: 7.125 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.537e-05/0.9648, allocations: 130.8 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.9648, allocations: 6.812 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.9648, allocations: 10.23 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9648, allocations: 1.703 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9648, allocations: 4 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.9649, allocations: 92.11 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.9649, allocations: 1.391 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.965, allocations: 9.297 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.965, allocations: 13.8 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003375/0.9654, allocations: 187.2 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002815/0.9657, allocations: 274.7 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001135/0.9658, allocations: 34.06 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.9659, allocations: 95.7 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of Backend: time 4.41e-07/0.9659, allocations: 0 / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000624/0.9665, allocations: 221.3 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000475/0.967, allocations: 0.6215 MB / 1.095 GB, free: 180 kB / 0.8575 GB Notification: Performance of Templates: time 0.005469/0.9725, allocations: 1.75 MB / 1.097 GB, free: 16 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches