Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001231/0.001231, allocations: 100.1 kB / 15.88 MB, free: 12 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.001316/0.001317, allocations: 196.9 kB / 16.79 MB, free: 6.809 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.497/1.497, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.918/2.918, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.59 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3625, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002756/0.3653, allocations: 0.8649 MB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3671, allocations: 1.166 MB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.3672, allocations: 0 / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.545e-05/0.3673, allocations: 11.86 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.3675, allocations: 11.92 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.368, allocations: 131.8 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.3682, allocations: 127.7 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3684, allocations: 31.97 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.3685, allocations: 55.83 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.3686, allocations: 43.83 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.3687, allocations: 8 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-05/0.3688, allocations: 27.92 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.3688, allocations: 19.91 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.3689, allocations: 39.84 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3691, allocations: 112 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3691, allocations: 3.938 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3691, allocations: 3.938 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3691, allocations: 0 / 1.055 GB, free: 5.668 MB / 0.8106 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.0007206/0.3698, allocations: 432.9 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3699, allocations: 15.97 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.37, allocations: 8.844 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3701, allocations: 180.2 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3701, allocations: 4.375 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.3702, allocations: 12.38 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.3704, allocations: 78.22 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3705, allocations: 8.125 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.3705, allocations: 7.938 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.3705, allocations: 4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.3707, allocations: 59.94 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.3714, allocations: 380.5 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3715, allocations: 50.56 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3716, allocations: 32.92 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.3717, allocations: 0 / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.3719, allocations: 87.36 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.372, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004419/0.3724, allocations: 129.5 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3725, allocations: 51.41 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3726, allocations: 125.7 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.3726, allocations: 37.69 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.3727, allocations: 96.05 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3727, allocations: 15.81 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.3728, allocations: 41.69 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3729, allocations: 310.8 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3731, allocations: 55.95 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3733, allocations: 91.52 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.3735, allocations: 112.2 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.3736, allocations: 4 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004345/0.374, allocations: 191.2 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.3741, allocations: 41.69 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3741, allocations: 0 / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3741, allocations: 0 / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.3742, allocations: 15.92 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3742, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.3744, allocations: 47.92 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.3745, allocations: 4 kB / 1.058 GB, free: 2.719 MB / 0.8106 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 0.0001105/0.3746, allocations: 132.5 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.3746, allocations: 7.906 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.3746, allocations: 12.36 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3747, allocations: 0 / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3747, allocations: 4 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3747, allocations: 3.938 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.3748, allocations: 189.6 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3748, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.3749, allocations: 7.984 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3749, allocations: 4 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3749, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3749, allocations: 4 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3749, allocations: 0 / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.3752, allocations: 128.9 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.3753, allocations: 81.02 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3753, allocations: 12 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.3754, allocations: 7.984 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.3755, allocations: 15.92 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.3755, allocations: 3.984 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.056e-05/0.3755, allocations: 91.28 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.743e-06/0.3756, allocations: 0 / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002343/0.3758, allocations: 36.05 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001573/0.376, allocations: 103.2 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.3764, allocations: 179.4 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3764, allocations: 0 / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3765, allocations: 27.98 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.3767, allocations: 19.92 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.3772, allocations: 214.9 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.3774, allocations: 0.6965 MB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.3775, allocations: 11.44 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.3775, allocations: 4 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of Templates: time 0.003499/0.381, allocations: 1.343 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches