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.001802/0.001803, allocations: 111.5 kB / 15.99 MB, free: 6.344 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.001724/0.001725, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.519/1.519, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.854/2.854, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 62.94 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4546, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005993/0.4607, allocations: 3.143 MB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.4636, allocations: 1.072 MB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007209/0.4643, allocations: 19.88 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.4648, allocations: 63.45 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.4654, allocations: 91.3 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009963/0.4664, allocations: 311.2 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.4675, allocations: 0.6364 MB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005438/0.468, allocations: 245.9 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004784/0.4685, allocations: 222.9 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.4689, allocations: 210.9 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.469, allocations: 52 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.4692, allocations: 52 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.4693, allocations: 111.5 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.4696, allocations: 238.6 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.4703, allocations: 0.5575 MB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.4703, allocations: 0 / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4703, allocations: 0 / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.831e-05/0.4703, allocations: 0 / 1.071 GB, free: 8.102 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001896/0.4723, allocations: 0.8098 MB / 1.072 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4723, allocations: 12.03 kB / 1.072 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.4725, allocations: 56.28 kB / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.4735, allocations: 0.5021 MB / 1.072 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.4735, allocations: 25.03 kB / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.4736, allocations: 28.38 kB / 1.072 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.4744, allocations: 371.1 kB / 1.073 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4745, allocations: 7.938 kB / 1.073 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.4745, allocations: 8 kB / 1.073 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.4745, allocations: 8 kB / 1.073 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.4752, allocations: 254 kB / 1.073 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.4773, allocations: 1.436 MB / 1.074 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.4781, allocations: 270.9 kB / 1.075 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.4784, allocations: 139 kB / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.4785, allocations: 0 / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.4785, allocations: 38.56 kB / 1.075 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.4785, allocations: 0 / 1.075 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.001012/0.4795, allocations: 362.8 kB / 1.075 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.4796, allocations: 59.41 kB / 1.075 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/0.4802, allocations: 410 kB / 1.076 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.4802, allocations: 29.7 kB / 1.076 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.4804, allocations: 260.1 kB / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.4805, allocations: 82.83 kB / 1.076 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.4807, allocations: 57.89 kB / 1.076 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4809, allocations: 358.7 kB / 1.076 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.4812, allocations: 96.52 kB / 1.076 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.4815, allocations: 160.7 kB / 1.077 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005847/0.4821, allocations: 273.7 kB / 1.077 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4821, allocations: 7.938 kB / 1.077 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007624/0.4828, allocations: 341 kB / 1.077 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4829, allocations: 7.984 kB / 1.077 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4829, allocations: 4 kB / 1.077 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4829, allocations: 4 kB / 1.077 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.4832, allocations: 67.78 kB / 1.077 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4832, allocations: 4 kB / 1.077 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.4835, allocations: 31.77 kB / 1.077 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.4835, allocations: 12.17 kB / 1.077 GB, free: 1.27 MB / 0.8419 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.0002343/0.4837, allocations: 173.8 kB / 1.077 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.4838, allocations: 43.44 kB / 1.078 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.484, allocations: 47.97 kB / 1.078 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.484, allocations: 4 kB / 1.078 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.484, allocations: 0 / 1.078 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.484, allocations: 3.938 kB / 1.078 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005639/0.4846, allocations: 437.1 kB / 1.078 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4846, allocations: 0 / 1.078 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.4849, allocations: 55.89 kB / 1.078 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4849, allocations: 0 / 1.078 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.4849, allocations: 8 kB / 1.078 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4849, allocations: 0 / 1.078 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4849, allocations: 0 / 1.078 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7619/1.247, allocations: 0.4942 MB / 1.079 GB, free: 22.44 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/1.247, allocations: 141.2 kB / 1.079 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/1.247, allocations: 5.375 kB / 1.079 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/1.247, allocations: 10 kB / 1.079 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/1.248, allocations: 16.25 kB / 1.079 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/1.248, allocations: 12.09 kB / 1.079 GB, free: 22.35 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004647/1.248, allocations: 287.8 kB / 1.079 GB, free: 22.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/1.248, allocations: 0 / 1.079 GB, free: 22.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003947/1.248, allocations: 68.38 kB / 1.079 GB, free: 22.27 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.0001446/1.249, allocations: 107 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007547/1.249, allocations: 255.4 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.249, allocations: 2.25 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/1.25, allocations: 121.8 kB / 1.08 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/1.25, allocations: 132.3 kB / 1.08 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/1.252, allocations: 0.9261 MB / 1.081 GB, free: 21.65 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/1.252, allocations: 0.8194 MB / 1.081 GB, free: 20.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.253, allocations: 38.61 kB / 1.081 GB, free: 20.94 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/1.253, allocations: 0 / 1.081 GB, free: 20.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.01298/1.266, allocations: 5.318 MB / 1.087 GB, free: 20.49 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/jenkins1/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