Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002231/0.002231, allocations: 188.8 kB / 16.25 MB, free: 6.621 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.616/1.616, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.988/2.988, allocations: 469.8 MB / 0.7421 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001973, allocations: 67.41 kB / 0.9081 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 159.1 MB / 1.063 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004576/0.3496, allocations: 3.147 MB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3515, allocations: 1.06 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.3517, allocations: 19.88 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.352, allocations: 67.44 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.3522, allocations: 91.3 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.3529, allocations: 308.9 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.3535, allocations: 0.6364 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.3539, allocations: 245.9 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.3542, allocations: 222.9 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.3545, allocations: 202.9 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.3545, allocations: 52 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.3546, allocations: 56 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.268e-05/0.3547, allocations: 115.5 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.3549, allocations: 238.6 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.3555, allocations: 0.6621 MB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3555, allocations: 3.938 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3555, allocations: 4 kB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3555, allocations: 0 / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00128/0.3568, allocations: 0.8176 MB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3569, allocations: 8.031 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.57e-05/0.357, allocations: 56.28 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/0.3577, allocations: 0.506 MB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3578, allocations: 21.03 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.3578, allocations: 28.38 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/0.3585, allocations: 375.1 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3585, allocations: 3.938 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.3586, allocations: 12 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.3586, allocations: 12 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/0.3592, allocations: 250.1 kB / 1.072 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.3608, allocations: 1.436 MB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.3615, allocations: 266.8 kB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3618, allocations: 142.4 kB / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3618, allocations: 7.984 kB / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.3618, allocations: 34.56 kB / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.3619, allocations: 0 / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.000883/0.3627, allocations: 363.2 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3628, allocations: 55.39 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.3633, allocations: 414 kB / 1.075 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3633, allocations: 25.7 kB / 1.075 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.3635, allocations: 260.1 kB / 1.075 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.3636, allocations: 82.83 kB / 1.075 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3637, allocations: 61.88 kB / 1.075 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3638, allocations: 358.7 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.3641, allocations: 92.5 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.3644, allocations: 168.7 kB / 1.076 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.3649, allocations: 264.8 kB / 1.076 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3649, allocations: 0 / 1.076 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006605/0.3656, allocations: 342.7 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3656, allocations: 8 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3656, allocations: 0 / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3656, allocations: 4 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.3659, allocations: 67.89 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.366, allocations: 12.12 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3661, allocations: 31.77 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.3662, allocations: 16 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001811/0.3664, allocations: 169.8 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.3664, allocations: 43.44 kB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.663e-05/0.3665, allocations: 47.97 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3666, allocations: 3.984 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3666, allocations: 4 kB / 1.077 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3666, allocations: 7.938 kB / 1.077 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.3671, allocations: 437.1 kB / 1.077 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3671, allocations: 0 / 1.077 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.3673, allocations: 47.91 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3674, allocations: 4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3674, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3674, allocations: 3.938 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3674, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008992/0.3683, allocations: 0.4987 MB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.3684, allocations: 144.5 kB / 1.078 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.3685, allocations: 0 / 1.078 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3687, allocations: 20.05 kB / 1.078 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3688, allocations: 15.97 kB / 1.078 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.3688, allocations: 11.94 kB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003006/0.3691, allocations: 287.1 kB / 1.078 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3691, allocations: 0 / 1.078 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003178/0.3694, allocations: 63.84 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0001205/0.3695, allocations: 107.2 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006269/0.3702, allocations: 257 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3702, allocations: 4 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.3704, allocations: 119.7 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/0.3712, allocations: 132.9 kB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3725, allocations: 0.8867 MB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.373, allocations: 0.8194 MB / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000201/0.3732, allocations: 51.25 kB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/0.3732, allocations: 31.44 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3733, allocations: 0 / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.00821/0.3815, allocations: 3.726 MB / 1.084 GB, free: 8.594 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches