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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002134/0.002134, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.002146/0.002146, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.504/1.504, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.554/2.554, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 66.58 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3354, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002041/0.3375, allocations: 0.7912 MB / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3389, allocations: 1.162 MB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.339, allocations: 7.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.339, allocations: 3.938 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.3391, allocations: 11.86 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.3396, allocations: 141.8 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3398, allocations: 147.8 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3399, allocations: 39.97 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.34, allocations: 59.78 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.3401, allocations: 55.8 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.3401, allocations: 12 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.3402, allocations: 31.98 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.3402, allocations: 11.94 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.3403, allocations: 55.83 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.3405, allocations: 147.8 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3405, allocations: 8 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3405, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3405, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 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.0005852/0.3411, allocations: 424.9 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3412, allocations: 8.625 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.3412, allocations: 12.84 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3413, allocations: 180.2 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3414, allocations: 8.375 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3414, allocations: 16.31 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.3416, allocations: 90.2 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3416, allocations: 192 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3416, allocations: 3.938 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3417, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.3419, allocations: 59.95 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.3424, allocations: 384.5 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.3425, allocations: 50.55 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3427, allocations: 28.94 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3427, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.3429, allocations: 91.3 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3429, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0003934/0.3433, allocations: 125.5 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3434, allocations: 55.41 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.3435, allocations: 134 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3435, allocations: 29.7 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.3436, allocations: 99.95 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.3436, allocations: 23.77 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.3437, allocations: 29.7 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3438, allocations: 322.8 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3439, allocations: 51.97 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.3441, allocations: 79.39 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3443, allocations: 120.2 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3444, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004031/0.3448, allocations: 203.2 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.3448, allocations: 33.7 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3448, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3448, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.3449, allocations: 11.98 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3449, allocations: 0 / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.3452, allocations: 47.95 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.3452, allocations: 7.984 kB / 1.069 GB, free: 9.371 MB / 0.8419 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 9.648e-05/0.3453, allocations: 121.8 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.3453, allocations: 7.906 kB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.3453, allocations: 8.375 kB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3453, allocations: 0 / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3454, allocations: 96 / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.3454, allocations: 11.86 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.3455, allocations: 193.6 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3455, allocations: 0 / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.3456, allocations: 11.98 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3456, allocations: 0 / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3456, allocations: 3.984 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3456, allocations: 0 / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3456, allocations: 0 / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3459, allocations: 133.3 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.3459, allocations: 81.02 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.346, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.66e-05/0.346, allocations: 11.98 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.3461, allocations: 19.91 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.3461, allocations: 4 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.3462, allocations: 99.25 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3462, allocations: 3.938 kB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002198/0.3464, allocations: 28 kB / 1.07 GB, free: 8.547 MB / 0.8419 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.0001244/0.3465, allocations: 99.78 kB / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.3469, allocations: 175.3 kB / 1.07 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3469, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.347, allocations: 39.97 kB / 1.07 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.3472, allocations: 8.125 kB / 1.07 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.3476, allocations: 212.7 kB / 1.071 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3478, allocations: 0.6981 MB / 1.071 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.3479, allocations: 15.44 kB / 1.071 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3479, allocations: 0 / 1.071 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of Templates: time 0.002752/0.3506, allocations: 1.345 MB / 1.073 GB, free: 5.902 MB / 0.8419 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