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.00158/0.001579, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001492/0.001491, allocations: 192 kB / 17.31 MB, free: 5.18 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.23/2.23, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 62.64 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3175, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004887/0.3224, allocations: 3.117 MB / 0.9542 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.3246, allocations: 1.103 MB / 0.9553 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.3249, allocations: 15.94 kB / 0.9553 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.3252, allocations: 91.06 kB / 0.9554 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.3255, allocations: 107 kB / 0.9555 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.3262, allocations: 339 kB / 0.9558 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006099/0.3269, allocations: 0.6364 MB / 0.9564 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.3273, allocations: 245.9 kB / 0.9566 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.3275, allocations: 226.9 kB / 0.9569 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.3278, allocations: 202.9 kB / 0.9571 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.638e-05/0.3278, allocations: 52 kB / 0.9571 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-05/0.3279, allocations: 56 kB / 0.9572 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.328, allocations: 115.5 kB / 0.9573 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.3282, allocations: 238.6 kB / 0.9575 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.3288, allocations: 0.685 MB / 0.9582 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3288, allocations: 0 / 0.9582 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3288, allocations: 4 kB / 0.9582 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.3289, allocations: 3.984 kB / 0.9582 GB, free: 0.8438 MB / 0.7325 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.001239/0.3301, allocations: 0.8176 MB / 0.959 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3302, allocations: 8.031 kB / 0.959 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.3303, allocations: 56.28 kB / 0.959 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.3311, allocations: 0.5178 MB / 0.9595 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3311, allocations: 21.03 kB / 0.9596 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.3312, allocations: 32.31 kB / 0.9596 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.3318, allocations: 371.1 kB / 0.9599 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3318, allocations: 0 / 0.9599 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.3319, allocations: 12 kB / 0.96 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3319, allocations: 8 kB / 0.96 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.3325, allocations: 258 kB / 0.9602 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.334, allocations: 1.425 MB / 0.9616 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.3347, allocations: 258.9 kB / 0.9618 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.3349, allocations: 147.2 kB / 0.962 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.335, allocations: 4 kB / 0.962 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.335, allocations: 38.56 kB / 0.962 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.335, allocations: 4 kB / 0.962 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0008518/0.3359, allocations: 365.7 kB / 0.9624 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3359, allocations: 55.41 kB / 0.9624 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.3364, allocations: 417.9 kB / 0.9628 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3364, allocations: 29.7 kB / 0.9629 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.3366, allocations: 260.1 kB / 0.9631 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.3367, allocations: 78.83 kB / 0.9632 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.3368, allocations: 57.89 kB / 0.9632 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3369, allocations: 366.7 kB / 0.9636 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.3372, allocations: 92.52 kB / 0.9637 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.3374, allocations: 160.7 kB / 0.9638 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.3379, allocations: 274.5 kB / 0.9641 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.338, allocations: 4 kB / 0.9641 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006305/0.3386, allocations: 332.9 kB / 0.9644 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3386, allocations: 7.984 kB / 0.9644 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3386, allocations: 4 kB / 0.9644 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3387, allocations: 4 kB / 0.9644 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.3389, allocations: 59.84 kB / 0.9645 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.339, allocations: 4 kB / 0.9645 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.3392, allocations: 39.92 kB / 0.9645 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.3392, allocations: 15.98 kB / 0.9645 GB, free: 9.984 MB / 0.7481 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.0001801/0.3394, allocations: 169.8 kB / 0.9647 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.3395, allocations: 43.44 kB / 0.9647 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.753e-05/0.3396, allocations: 47.97 kB / 0.9648 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3396, allocations: 4 kB / 0.9648 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3396, allocations: 0 / 0.9648 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3396, allocations: 3.938 kB / 0.9648 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.3401, allocations: 433.2 kB / 0.9652 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3401, allocations: 0 / 0.9652 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.3404, allocations: 55.89 kB / 0.9653 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3404, allocations: 0 / 0.9653 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3404, allocations: 4 kB / 0.9653 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3404, allocations: 0 / 0.9653 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3404, allocations: 3.938 kB / 0.9653 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008601/0.3413, allocations: 0.5006 MB / 0.9658 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.3414, allocations: 136.6 kB / 0.9659 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.3415, allocations: 4 kB / 0.9659 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.3417, allocations: 11.98 kB / 0.9659 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.3417, allocations: 23.98 kB / 0.9659 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3417, allocations: 11.92 kB / 0.9659 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003141/0.3421, allocations: 291.1 kB / 0.9662 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3421, allocations: 0 / 0.9662 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003225/0.3424, allocations: 63.75 kB / 0.9663 GB, free: 8.113 MB / 0.7481 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.0001198/0.3425, allocations: 107.2 kB / 0.9664 GB, free: 8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005826/0.3431, allocations: 247.6 kB / 0.9666 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3431, allocations: 0 / 0.9666 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.3434, allocations: 117.5 kB / 0.9667 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.3441, allocations: 132 kB / 0.9669 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3454, allocations: 0.7113 MB / 0.9675 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.3458, allocations: 0.8232 MB / 0.9684 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.346, allocations: 59.23 kB / 0.9684 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.3461, allocations: 31.42 kB / 0.9684 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.3461, allocations: 0 / 0.9684 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of Templates: time 0.007811/0.3539, allocations: 3.801 MB / 0.9722 GB, free: 2.109 MB / 0.7481 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 -s cvode -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