Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.008779/0.008779, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.00179/0.00179, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 71.88 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.922/0.9236, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004627/0.9283, allocations: 3.114 MB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.9305, allocations: 1.091 MB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.9309, allocations: 19.94 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.9312, allocations: 91.06 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.9314, allocations: 103 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.9322, allocations: 338.9 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.9328, allocations: 0.6441 MB / 1.213 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.9332, allocations: 245.9 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.9335, allocations: 219 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.9337, allocations: 214.8 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.9338, allocations: 56 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-05/0.9339, allocations: 52 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.934, allocations: 107.6 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.9341, allocations: 246.5 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.9347, allocations: 0.6828 MB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9348, allocations: 0 / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9348, allocations: 0 / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.9348, allocations: 0 / 1.215 GB, free: 6.379 MB / 0.9356 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.00126/0.936, allocations: 0.8254 MB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.9361, allocations: 8.031 kB / 1.216 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.9362, allocations: 64.19 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.9371, allocations: 0.5022 MB / 1.216 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.9371, allocations: 21.03 kB / 1.216 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.9372, allocations: 40.36 kB / 1.216 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/0.9378, allocations: 371.1 kB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.9379, allocations: 3.938 kB / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.9379, allocations: 12 kB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.9379, allocations: 8 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.9385, allocations: 254 kB / 1.217 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.9401, allocations: 1.428 MB / 1.218 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.9408, allocations: 274.8 kB / 1.218 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.9411, allocations: 139.2 kB / 1.219 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.9411, allocations: 4 kB / 1.219 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.9412, allocations: 34.56 kB / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/0.9412, allocations: 0 / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0008786/0.9421, allocations: 364.8 kB / 1.219 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.9421, allocations: 51.41 kB / 1.219 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.9426, allocations: 418 kB / 1.219 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.9426, allocations: 29.7 kB / 1.219 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.9428, allocations: 264.1 kB / 1.22 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.9428, allocations: 70.83 kB / 1.22 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.9429, allocations: 57.97 kB / 1.22 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9431, allocations: 358.7 kB / 1.22 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.9433, allocations: 96.5 kB / 1.22 GB, free: 476 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.9436, allocations: 160.8 kB / 1.22 GB, free: 288 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.9442, allocations: 267.7 kB / 1.221 GB, free: 16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9442, allocations: 0 / 1.221 GB, free: 16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000673/0.9449, allocations: 340.8 kB / 1.221 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.9449, allocations: 8 kB / 1.221 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9449, allocations: 0 / 1.221 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.9449, allocations: 4.25 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.9452, allocations: 67.89 kB / 1.221 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.9452, allocations: 7.938 kB / 1.221 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.9454, allocations: 39.7 kB / 1.221 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.9455, allocations: 12 kB / 1.221 GB, free: 15.52 MB / 0.9512 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.0001826/0.9457, allocations: 173.8 kB / 1.221 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.9457, allocations: 43.44 kB / 1.221 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.968e-05/0.9458, allocations: 47.98 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9459, allocations: 4 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9459, allocations: 0 / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.9459, allocations: 7.922 kB / 1.221 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.9464, allocations: 433.2 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9464, allocations: 0 / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.9466, allocations: 47.91 kB / 1.222 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.9467, allocations: 4 kB / 1.222 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.9467, allocations: 7.984 kB / 1.222 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.9467, allocations: 0 / 1.222 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9467, allocations: 11.94 kB / 1.222 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.9476, allocations: 0.4924 MB / 1.222 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.9478, allocations: 148.5 kB / 1.222 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.9478, allocations: 7.984 kB / 1.222 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.948, allocations: 11.98 kB / 1.222 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.9481, allocations: 15.98 kB / 1.223 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.9481, allocations: 7.938 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002872/0.9484, allocations: 291.1 kB / 1.223 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9484, allocations: 0 / 1.223 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003219/0.9487, allocations: 63.75 kB / 1.223 GB, free: 13.64 MB / 0.9512 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.000134/0.9489, allocations: 115.2 kB / 1.223 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005886/0.9495, allocations: 235.7 kB / 1.223 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9495, allocations: 0 / 1.223 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.9497, allocations: 130.9 kB / 1.223 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.9504, allocations: 132.1 kB / 1.223 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.9517, allocations: 0.7264 MB / 1.224 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.9521, allocations: 0.8155 MB / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.9523, allocations: 51.25 kB / 1.225 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.9524, allocations: 31.44 kB / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.9524, allocations: 0 / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of Templates: time 0.008127/0.9606, allocations: 3.93 MB / 1.229 GB, free: 7.527 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches