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.007151/0.007151, allocations: 98.97 kB / 15.73 MB, free: 6.008 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.001701/0.001701, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.519/2.519, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7606, allocations: 159.1 MB / 1.221 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004072/0.7647, allocations: 3.12 MB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.7664, allocations: 1.091 MB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.7666, allocations: 19.88 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.7669, allocations: 87.11 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.7671, allocations: 115 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.7677, allocations: 343.1 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.7683, allocations: 0.6325 MB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.7685, allocations: 154 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.7688, allocations: 235 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.769, allocations: 210.8 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.7691, allocations: 56 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.485e-05/0.7691, allocations: 52 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.7692, allocations: 107.6 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.7694, allocations: 246.6 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.77, allocations: 0.6852 MB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.77, allocations: 4 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.82e-07/0.77, allocations: 0 / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.77, allocations: 3.938 kB / 1.228 GB, free: 10.97 MB / 0.9512 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.001118/0.7711, allocations: 0.8328 MB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.7711, allocations: 8.031 kB / 1.228 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.157e-05/0.7712, allocations: 64.52 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007782/0.772, allocations: 0.5182 MB / 1.229 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.772, allocations: 21.03 kB / 1.229 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.7721, allocations: 28.38 kB / 1.229 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.7726, allocations: 375.1 kB / 1.229 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7726, allocations: 0 / 1.229 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.7727, allocations: 16 kB / 1.229 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.7727, allocations: 11.94 kB / 1.229 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.7732, allocations: 254 kB / 1.23 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.7746, allocations: 1.417 MB / 1.231 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.7753, allocations: 254.9 kB / 1.231 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.7755, allocations: 136.7 kB / 1.231 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.7756, allocations: 7.984 kB / 1.231 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.7756, allocations: 34.56 kB / 1.231 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.7756, allocations: 0 / 1.231 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0008212/0.7764, allocations: 375.9 kB / 1.232 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.7764, allocations: 51.41 kB / 1.232 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.7768, allocations: 409.9 kB / 1.232 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.7769, allocations: 33.7 kB / 1.232 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.777, allocations: 256.5 kB / 1.232 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.7771, allocations: 87.27 kB / 1.233 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.7772, allocations: 65.92 kB / 1.233 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7773, allocations: 350.7 kB / 1.233 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.7775, allocations: 100.4 kB / 1.233 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.7778, allocations: 164.7 kB / 1.233 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.7783, allocations: 273.7 kB / 1.233 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7783, allocations: 0 / 1.233 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006125/0.7789, allocations: 342.4 kB / 1.234 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7789, allocations: 8 kB / 1.234 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.7789, allocations: 0 / 1.234 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.779, allocations: 4 kB / 1.234 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.7792, allocations: 68.14 kB / 1.234 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7792, allocations: 8 kB / 1.234 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.7794, allocations: 31.77 kB / 1.234 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.7794, allocations: 12 kB / 1.234 GB, free: 4.109 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.0001656/0.7796, allocations: 174.2 kB / 1.234 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.7797, allocations: 43.72 kB / 1.234 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.7798, allocations: 47.97 kB / 1.234 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.7798, allocations: 0 / 1.234 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.7798, allocations: 8 kB / 1.234 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7798, allocations: 3.938 kB / 1.234 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.7802, allocations: 441.2 kB / 1.235 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7802, allocations: 3.938 kB / 1.235 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.7805, allocations: 39.97 kB / 1.235 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.7805, allocations: 4 kB / 1.235 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.7805, allocations: 7.984 kB / 1.235 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7805, allocations: 0 / 1.235 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7805, allocations: 0 / 1.235 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.7813, allocations: 0.4974 MB / 1.235 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.7814, allocations: 148.7 kB / 1.235 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.7815, allocations: 4 kB / 1.235 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.7817, allocations: 23.98 kB / 1.235 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.7817, allocations: 11.97 kB / 1.235 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.7817, allocations: 15.94 kB / 1.235 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002825/0.782, allocations: 287.1 kB / 1.236 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.782, allocations: 0 / 1.236 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003022/0.7823, allocations: 71.78 kB / 1.236 GB, free: 2.207 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.0001024/0.7824, allocations: 111.2 kB / 1.236 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.783, allocations: 229.5 kB / 1.236 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.783, allocations: 4 kB / 1.236 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.7832, allocations: 112.2 kB / 1.236 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.7838, allocations: 133.9 kB / 1.236 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.785, allocations: 0.7446 MB / 1.237 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.7853, allocations: 0.8155 MB / 1.238 GB, free: 24 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.7855, allocations: 55.25 kB / 1.238 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.7856, allocations: 31.44 kB / 1.238 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.7856, allocations: 0 / 1.238 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.007252/0.7928, allocations: 3.864 MB / 1.242 GB, free: 12.14 MB / 0.9669 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=480 -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