Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9055/0.9055, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.9 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.968e-05, allocations: 6.188 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004796/0.004826, allocations: 3.043 MB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.007125, allocations: 1.175 MB / 0.8156 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003626/0.007488, allocations: 29.31 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.00778, allocations: 87.12 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.008055, allocations: 125.2 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.008857, allocations: 352.1 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.00956, allocations: 0.6524 MB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.009882, allocations: 150.9 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.01048, allocations: 351.8 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.01064, allocations: 136.8 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.01068, allocations: 48 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.01075, allocations: 52 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.0108, allocations: 103.5 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.01089, allocations: 133.3 kB / 0.8178 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.01126, allocations: 370.4 kB / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01127, allocations: 0 / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.173e-06/0.01127, allocations: 0 / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.01127, allocations: 0 / 0.8181 GB, free: 10.96 MB / 0.7761 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.000816/0.01209, allocations: 0.8326 MB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.01213, allocations: 8.031 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.01235, allocations: 109.6 kB / 0.8191 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.01284, allocations: 493.2 kB / 0.8195 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.01286, allocations: 25.75 kB / 0.8196 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.0129, allocations: 32.33 kB / 0.8196 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.01329, allocations: 366.6 kB / 0.8199 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.0133, allocations: 192 / 0.8199 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.01332, allocations: 12.38 kB / 0.8199 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.01333, allocations: 11.94 kB / 0.82 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.01351, allocations: 117.5 kB / 0.8201 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.01497, allocations: 1.549 MB / 0.8216 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.01539, allocations: 170.5 kB / 0.8217 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.0156, allocations: 86.03 kB / 0.8218 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.01563, allocations: 4 kB / 0.8218 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.01566, allocations: 45.31 kB / 0.8219 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 2.535e-06/0.01566, allocations: 0 / 0.8219 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0004834/0.01614, allocations: 220.4 kB / 0.8221 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.01617, allocations: 51.41 kB / 0.8221 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.0166, allocations: 442.6 kB / 0.8226 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.01663, allocations: 29.7 kB / 0.8226 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.01682, allocations: 303.2 kB / 0.8229 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.01689, allocations: 87.23 kB / 0.823 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.01697, allocations: 59.62 kB / 0.823 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.01714, allocations: 0.5247 MB / 0.8235 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.01724, allocations: 36.53 kB / 0.8236 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.01737, allocations: 139.2 kB / 0.8237 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.01756, allocations: 195.1 kB / 0.8239 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01756, allocations: 0 / 0.8239 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004609/0.01802, allocations: 243.3 kB / 0.8241 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.01804, allocations: 4 kB / 0.8241 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.01805, allocations: 4.656 kB / 0.8241 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01806, allocations: 4 kB / 0.8241 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.01823, allocations: 60.73 kB / 0.8242 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.01824, allocations: 5.156 kB / 0.8242 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.01832, allocations: 19.89 kB / 0.8242 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01834, allocations: 12 kB / 0.8242 GB, free: 4.402 MB / 0.7761 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.0001066/0.01844, allocations: 185.4 kB / 0.8244 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.01849, allocations: 55.67 kB / 0.8244 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.01854, allocations: 53.11 kB / 0.8245 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01855, allocations: 8 kB / 0.8245 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01855, allocations: 1.125 kB / 0.8245 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01856, allocations: 3.984 kB / 0.8245 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.01881, allocations: 312.3 kB / 0.8248 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01881, allocations: 3.25 kB / 0.8248 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.01895, allocations: 39.97 kB / 0.8248 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01895, allocations: 4 kB / 0.8249 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.01897, allocations: 4 kB / 0.8249 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01897, allocations: 0 / 0.8249 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01897, allocations: 0 / 0.8249 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.01932, allocations: 386.2 kB / 0.8252 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.01939, allocations: 72.55 kB / 0.8253 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.01942, allocations: 4 kB / 0.8253 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.0195, allocations: 8.578 kB / 0.8253 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.01955, allocations: 15.97 kB / 0.8253 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01956, allocations: 9.344 kB / 0.8253 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001776/0.01973, allocations: 291 kB / 0.8256 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01973, allocations: 0 / 0.8256 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002127/0.01995, allocations: 68.06 kB / 0.8257 GB, free: 2.855 MB / 0.7761 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 9.196e-05/0.02004, allocations: 115.2 kB / 0.8258 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.02025, allocations: 133.9 kB / 0.8259 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02025, allocations: 0 / 0.8259 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.02033, allocations: 78.08 kB / 0.826 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.02074, allocations: 143.5 kB / 0.8261 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.02177, allocations: 0.6856 MB / 0.8268 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.146e-05/0.02183, allocations: 105.3 kB / 0.8269 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.02194, allocations: 47.27 kB / 0.8269 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.02201, allocations: 32.48 kB / 0.827 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of SimCode: time 1.001e-06/0.02201, allocations: 0 / 0.827 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of Templates: time 0.006385/0.02839, allocations: 4.297 MB / 0.8312 GB, free: 13.29 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.698580446187407]