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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001412/0.001412, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.624/1.624, allocations: 222.9 MB / 240.5 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.637/2.637, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.093, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005982/1.099, allocations: 3.132 MB / 0.9527 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002505/1.102, allocations: 1.066 MB / 0.9537 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/1.102, allocations: 19.69 kB / 0.9537 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003254/1.102, allocations: 65.62 kB / 0.9538 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/1.103, allocations: 84.08 kB / 0.9539 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007746/1.104, allocations: 307.8 kB / 0.9542 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007506/1.104, allocations: 0.5815 MB / 0.9547 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005052/1.105, allocations: 252.8 kB / 0.955 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/1.105, allocations: 179.3 kB / 0.9551 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/1.105, allocations: 189.8 kB / 0.9553 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/1.106, allocations: 19.81 kB / 0.9553 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/1.106, allocations: 20.12 kB / 0.9554 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/1.106, allocations: 79.55 kB / 0.9554 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002295/1.106, allocations: 206.2 kB / 0.9556 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/1.107, allocations: 0.5342 MB / 0.9562 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/1.107, allocations: 0 / 0.9562 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.695e-06/1.107, allocations: 4 kB / 0.9562 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.107, allocations: 0 / 0.9562 GB, free: 4.02 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.001584/1.108, allocations: 0.8274 MB / 0.957 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.828e-05/1.108, allocations: 9.375 kB / 0.957 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/1.108, allocations: 58.25 kB / 0.957 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/1.109, allocations: 498.6 kB / 0.9575 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/1.109, allocations: 25.12 kB / 0.9575 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/1.109, allocations: 27.75 kB / 0.9576 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007546/1.11, allocations: 377.2 kB / 0.9579 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/1.11, allocations: 1.5 kB / 0.9579 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/1.11, allocations: 10.5 kB / 0.9579 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/1.11, allocations: 12.03 kB / 0.9579 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/1.111, allocations: 254.3 kB / 0.9582 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/1.113, allocations: 1.435 MB / 0.9596 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008235/1.114, allocations: 273.7 kB / 0.9599 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/1.114, allocations: 135.8 kB / 0.96 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-05/1.114, allocations: 6.125 kB / 0.96 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/1.114, allocations: 32.84 kB / 0.96 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.202e-06/1.114, allocations: 0 / 0.96 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.001065/1.115, allocations: 368 kB / 0.9604 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.115, allocations: 58.53 kB / 0.9604 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/1.116, allocations: 415 kB / 0.9608 GB, free: 360 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/1.116, allocations: 30.73 kB / 0.9608 GB, free: 324 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/1.116, allocations: 262 kB / 0.9611 GB, free: 84 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/1.116, allocations: 80.61 kB / 0.9612 GB, free: 12 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/1.116, allocations: 56.81 kB / 0.9612 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002224/1.117, allocations: 357.4 kB / 0.9616 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/1.117, allocations: 96.88 kB / 0.9617 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/1.117, allocations: 157.4 kB / 0.9618 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/1.118, allocations: 271.4 kB / 0.9621 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.118, allocations: 1 kB / 0.9621 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008078/1.119, allocations: 342.8 kB / 0.9624 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/1.119, allocations: 6.375 kB / 0.9624 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.119, allocations: 5.422 kB / 0.9624 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.119, allocations: 4.031 kB / 0.9624 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/1.119, allocations: 65.77 kB / 0.9625 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/1.119, allocations: 3.75 kB / 0.9625 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/1.119, allocations: 43.2 kB / 0.9625 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/1.119, allocations: 8.094 kB / 0.9625 GB, free: 15.02 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.0002752/1.12, allocations: 171.1 kB / 0.9627 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/1.12, allocations: 47.06 kB / 0.9627 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/1.12, allocations: 48.69 kB / 0.9628 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/1.12, allocations: 1.875 kB / 0.9628 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/1.12, allocations: 1.125 kB / 0.9628 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.12, allocations: 7.938 kB / 0.9628 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/1.121, allocations: 437.3 kB / 0.9632 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.121, allocations: 4 kB / 0.9632 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/1.121, allocations: 43.12 kB / 0.9633 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.121, allocations: 1.031 kB / 0.9633 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/1.121, allocations: 9.172 kB / 0.9633 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.121, allocations: 1.156 kB / 0.9633 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.121, allocations: 1.062 kB / 0.9633 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/1.122, allocations: 0.5002 MB / 0.9638 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/1.122, allocations: 137.9 kB / 0.9639 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/1.123, allocations: 6.312 kB / 0.9639 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/1.123, allocations: 17.77 kB / 0.9639 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/1.123, allocations: 19.06 kB / 0.9639 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/1.123, allocations: 8.188 kB / 0.9639 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004302/1.123, allocations: 292 kB / 0.9642 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.123, allocations: 0 / 0.9642 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004095/1.124, allocations: 71.75 kB / 0.9643 GB, free: 13.7 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.0001907/1.124, allocations: 102.8 kB / 0.9644 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007581/1.125, allocations: 248.5 kB / 0.9646 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.125, allocations: 1.125 kB / 0.9646 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/1.125, allocations: 119 kB / 0.9647 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/1.126, allocations: 113.9 kB / 0.9648 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/1.128, allocations: 0.913 MB / 0.9657 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/1.129, allocations: 0.8288 MB / 0.9665 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/1.129, allocations: 38.98 kB / 0.9666 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/1.129, allocations: 0 / 0.9666 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.01204/1.141, allocations: 5.308 MB / 0.9718 GB, free: 9.172 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/jenkins1/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