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.00138/0.001379, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.00148/0.00148, allocations: 187 kB / 17.34 MB, free: 5.719 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.652/1.652, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.615/2.615, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.02068/0.02068, allocations: 67.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515/1.536, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005003/1.541, allocations: 3.111 MB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002792/1.544, allocations: 1.094 MB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/1.544, allocations: 15.69 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003705/1.545, allocations: 89.91 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002852/1.545, allocations: 111.1 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/1.546, allocations: 341.3 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00108/1.547, allocations: 0.6432 MB / 1.094 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005943/1.548, allocations: 253.1 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/1.548, allocations: 228.3 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/1.548, allocations: 214.1 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/1.549, allocations: 52.88 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/1.549, allocations: 52.88 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/1.549, allocations: 103.5 kB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002634/1.549, allocations: 241.3 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/1.55, allocations: 0.6852 MB / 1.096 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.55, allocations: 0.7188 kB / 1.096 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/1.55, allocations: 4 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.55, allocations: 0.6875 kB / 1.096 GB, free: 1.133 MB / 0.8575 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.001643/1.552, allocations: 0.8247 MB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.139e-05/1.552, allocations: 13.72 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/1.552, allocations: 56 kB / 1.097 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1.554, allocations: 0.5111 MB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/1.554, allocations: 24.86 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/1.554, allocations: 31.88 kB / 1.097 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/1.555, allocations: 374.5 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.555, allocations: 0.7188 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/1.555, allocations: 11.31 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/1.555, allocations: 7.781 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/1.556, allocations: 253.4 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00803/1.564, allocations: 1.426 MB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/1.565, allocations: 270.4 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/1.565, allocations: 136.1 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/1.565, allocations: 3.109 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/1.565, allocations: 37.08 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 2.474e-06/1.565, allocations: 0.8125 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.001315/1.567, allocations: 362.5 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/1.567, allocations: 54.22 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/1.568, allocations: 413.7 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/1.568, allocations: 31.27 kB / 1.1 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/1.568, allocations: 263.1 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.006284/1.574, allocations: 75.38 kB / 1.101 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/1.575, allocations: 59.27 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002529/1.575, allocations: 354.5 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/1.575, allocations: 103.3 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/1.576, allocations: 160.5 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/1.576, allocations: 275.9 kB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.576, allocations: 0.6562 kB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001003/1.577, allocations: 343.4 kB / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/1.577, allocations: 9.094 kB / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.577, allocations: 2.156 kB / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/1.577, allocations: 4.281 kB / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/1.578, allocations: 64.25 kB / 1.102 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/1.578, allocations: 4.797 kB / 1.102 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/1.578, allocations: 38.5 kB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/1.578, allocations: 9.062 kB / 1.102 GB, free: 12.84 MB / 0.8731 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.0003322/1.578, allocations: 183.4 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.579, allocations: 44.78 kB / 1.102 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/1.579, allocations: 45.91 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.579, allocations: 2.25 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/1.579, allocations: 0.625 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.579, allocations: 5.984 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/1.58, allocations: 438.2 kB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.58, allocations: 0.625 kB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/1.58, allocations: 51.58 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/1.58, allocations: 1.156 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/1.58, allocations: 7.156 kB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/1.58, allocations: 1.844 kB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.58, allocations: 1.094 kB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/1.581, allocations: 0.4948 MB / 1.103 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/1.582, allocations: 141.8 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/1.582, allocations: 7.156 kB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006073/1.588, allocations: 13.36 kB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.588, allocations: 17.38 kB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/1.588, allocations: 13.78 kB / 1.103 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005457/1.589, allocations: 291 kB / 1.104 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.589, allocations: 0 / 1.104 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004777/1.589, allocations: 64.41 kB / 1.104 GB, free: 11.7 MB / 0.8731 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.0001991/1.589, allocations: 103.7 kB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000984/1.59, allocations: 244.3 kB / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.59, allocations: 0 / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/1.591, allocations: 123.4 kB / 1.104 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009274/1.592, allocations: 124.6 kB / 1.104 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/1.594, allocations: 0.7414 MB / 1.105 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000779/1.594, allocations: 0.82 MB / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/1.595, allocations: 34.08 kB / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of SimCode: time 1.432e-06/1.595, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of Templates: time 0.5413/2.136, allocations: 5.372 MB / 1.111 GB, free: 9.645 MB / 0.8731 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