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.001591/0.001592, allocations: 111.7 kB / 16.41 MB, free: 6.484 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.001774/0.001774, allocations: 187 kB / 17.34 MB, free: 5.762 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.568/1.568, allocations: 222.9 MB / 241 MB, free: 15.16 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.584/2.584, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 56.05 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004583/1.187, allocations: 3.113 MB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0022/1.189, allocations: 1.088 MB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/1.189, allocations: 20.66 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002979/1.19, allocations: 88.34 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/1.19, allocations: 105.6 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008162/1.191, allocations: 336.5 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007689/1.192, allocations: 0.6389 MB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/1.192, allocations: 257.6 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/1.192, allocations: 224.2 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/1.193, allocations: 209.9 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/1.193, allocations: 52.62 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/1.193, allocations: 53.12 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/1.193, allocations: 110.8 kB / 1.095 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/1.193, allocations: 245.2 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000934/1.194, allocations: 0.6814 MB / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.194, allocations: 1 kB / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.585e-06/1.194, allocations: 0 / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.059e-05/1.194, allocations: 0 / 1.096 GB, free: 0.9102 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.001426/1.196, allocations: 0.8215 MB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.196, allocations: 13.16 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/1.196, allocations: 60.25 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.197, allocations: 0.5182 MB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/1.197, allocations: 25.17 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/1.197, allocations: 31.28 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/1.198, allocations: 371.9 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/1.198, allocations: 1.25 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/1.198, allocations: 11.31 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/1.198, allocations: 7.469 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007257/1.199, allocations: 260.8 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/1.201, allocations: 1.418 MB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/1.202, allocations: 267.4 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/1.202, allocations: 144.7 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/1.202, allocations: 4.203 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/1.202, allocations: 39.56 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 2.033e-06/1.202, allocations: 0 / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.001039/1.203, allocations: 360.7 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.203, allocations: 53.56 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/1.204, allocations: 413.9 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/1.204, allocations: 26.67 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/1.204, allocations: 262.5 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/1.204, allocations: 75.48 kB / 1.101 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/1.204, allocations: 59.48 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002279/1.204, allocations: 358.2 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/1.205, allocations: 95.12 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/1.205, allocations: 164.2 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/1.206, allocations: 277.4 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.206, allocations: 0 / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008421/1.207, allocations: 343.5 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.207, allocations: 8.281 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.207, allocations: 3.781 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/1.207, allocations: 3.312 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/1.207, allocations: 60.48 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.207, allocations: 4.203 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/1.207, allocations: 38.34 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/1.207, allocations: 18.56 kB / 1.102 GB, free: 12.61 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.0002553/1.208, allocations: 174 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/1.208, allocations: 44.64 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/1.208, allocations: 46.67 kB / 1.102 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/1.208, allocations: 2.344 kB / 1.102 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.208, allocations: 0 / 1.102 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.208, allocations: 6.094 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/1.209, allocations: 430 kB / 1.103 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.209, allocations: 5.406 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/1.209, allocations: 51.25 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.209, allocations: 2.172 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/1.209, allocations: 2.375 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.209, allocations: 1.906 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.209, allocations: 0.5156 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/1.21, allocations: 0.5043 MB / 1.103 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/1.21, allocations: 142.2 kB / 1.103 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/1.211, allocations: 1.562 kB / 1.103 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/1.211, allocations: 18.2 kB / 1.103 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/1.211, allocations: 20.69 kB / 1.103 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/1.211, allocations: 9.891 kB / 1.103 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004452/1.211, allocations: 290.9 kB / 1.104 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.211, allocations: 1.062 kB / 1.104 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003824/1.212, allocations: 60.34 kB / 1.104 GB, free: 11.48 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.0001789/1.212, allocations: 103.6 kB / 1.104 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008492/1.213, allocations: 243 kB / 1.104 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.213, allocations: 0 / 1.104 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/1.213, allocations: 121.1 kB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/1.214, allocations: 126.9 kB / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/1.216, allocations: 0.7479 MB / 1.105 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/1.216, allocations: 0.8202 MB / 1.106 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/1.216, allocations: 34.97 kB / 1.106 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.216, allocations: 0 / 1.106 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.0133/1.23, allocations: 5.37 MB / 1.111 GB, free: 9.414 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