Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001301/0.0013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001696/0.001696, allocations: 192 kB / 16.25 MB, free: 6.637 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.91 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8441, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004918/0.8491, allocations: 3.129 MB / 0.9522 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.8512, allocations: 1.065 MB / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.8515, allocations: 16.22 kB / 0.9532 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.8518, allocations: 72.91 kB / 0.9533 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.852, allocations: 80.66 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.8527, allocations: 314.6 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006137/0.8533, allocations: 0.6384 MB / 0.9543 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.8537, allocations: 251.2 kB / 0.9545 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.854, allocations: 220.3 kB / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.8542, allocations: 215.6 kB / 0.955 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.289e-05/0.8543, allocations: 51.94 kB / 0.955 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.8544, allocations: 53.25 kB / 0.9551 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.8545, allocations: 104 kB / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.8547, allocations: 245.1 kB / 0.9554 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.8552, allocations: 0.6719 MB / 0.9561 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.8552, allocations: 0 / 0.9561 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8552, allocations: 3.938 kB / 0.9561 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.8553, allocations: 0 / 0.9561 GB, free: 3.73 MB / 0.7169 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.001243/0.8565, allocations: 0.826 MB / 0.9569 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.8566, allocations: 9.562 kB / 0.9569 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.8567, allocations: 55.72 kB / 0.9569 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007961/0.8575, allocations: 0.4973 MB / 0.9574 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.8575, allocations: 21.44 kB / 0.9574 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.8576, allocations: 30.84 kB / 0.9575 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.8583, allocations: 369.5 kB / 0.9578 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.8583, allocations: 5.688 kB / 0.9578 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.8583, allocations: 11.16 kB / 0.9578 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.8584, allocations: 7.125 kB / 0.9578 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.8589, allocations: 254.3 kB / 0.9581 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.8604, allocations: 1.435 MB / 0.9595 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.8612, allocations: 264.5 kB / 0.9597 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.8615, allocations: 136.7 kB / 0.9599 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.8615, allocations: 7.328 kB / 0.9599 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.8616, allocations: 35.38 kB / 0.9599 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.303e-06/0.8616, allocations: 0 / 0.9599 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0009295/0.8625, allocations: 368.2 kB / 0.9603 GB, free: 404 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.8625, allocations: 54.53 kB / 0.9603 GB, free: 340 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.8631, allocations: 415.1 kB / 0.9607 GB, free: 72 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.8631, allocations: 30.83 kB / 0.9607 GB, free: 36 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.8633, allocations: 258.6 kB / 0.961 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.8634, allocations: 75.97 kB / 0.961 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.8635, allocations: 57.83 kB / 0.9611 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.8638, allocations: 360.1 kB / 0.9614 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.864, allocations: 89.3 kB / 0.9615 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.8644, allocations: 165.7 kB / 0.9617 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.865, allocations: 271.7 kB / 0.962 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8651, allocations: 3.938 kB / 0.962 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007499/0.8658, allocations: 339.6 kB / 0.9623 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.8658, allocations: 6.156 kB / 0.9623 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.8659, allocations: 5.375 kB / 0.9623 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.8659, allocations: 7.703 kB / 0.9623 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.8662, allocations: 70.33 kB / 0.9624 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.8662, allocations: 3.719 kB / 0.9624 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.8664, allocations: 43.48 kB / 0.9624 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.8665, allocations: 12.05 kB / 0.9624 GB, free: 14.73 MB / 0.7325 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.0002197/0.8667, allocations: 169.6 kB / 0.9626 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.8668, allocations: 44.22 kB / 0.9626 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.8669, allocations: 48.36 kB / 0.9627 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.8669, allocations: 6.719 kB / 0.9627 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.8669, allocations: 0 / 0.9627 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.8669, allocations: 7.922 kB / 0.9627 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005915/0.8675, allocations: 433.6 kB / 0.9631 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8676, allocations: 0 / 0.9631 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.8678, allocations: 52.42 kB / 0.9631 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.8678, allocations: 0 / 0.9631 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.8679, allocations: 5.312 kB / 0.9632 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.8679, allocations: 1.375 kB / 0.9632 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8679, allocations: 0 / 0.9632 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009712/0.8688, allocations: 0.5083 MB / 0.9636 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.869, allocations: 134.9 kB / 0.9638 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.8691, allocations: 9.094 kB / 0.9638 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.8693, allocations: 15.14 kB / 0.9638 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.8693, allocations: 14.39 kB / 0.9638 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.8694, allocations: 12.48 kB / 0.9638 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003653/0.8697, allocations: 283.8 kB / 0.9641 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8697, allocations: 0 / 0.9641 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003706/0.8701, allocations: 68.22 kB / 0.9642 GB, free: 13.43 MB / 0.7325 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.0001404/0.8703, allocations: 110.8 kB / 0.9643 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007009/0.871, allocations: 250.1 kB / 0.9645 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.871, allocations: 0 / 0.9645 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.8713, allocations: 119 kB / 0.9646 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.8721, allocations: 134 kB / 0.9647 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.8738, allocations: 0.903 MB / 0.9656 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.8744, allocations: 0.8182 MB / 0.9664 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.8746, allocations: 46.7 kB / 0.9665 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.8747, allocations: 33.05 kB / 0.9665 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.8747, allocations: 1.062 kB / 0.9665 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.009679/0.8844, allocations: 3.714 MB / 0.9701 GB, free: 9.848 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches