Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 190.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.702/2.702, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_11_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_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 63.89 kB / 1.11 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8251/0.8273, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005275/0.8325, allocations: 3.151 MB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.8351, allocations: 1.103 MB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004873/0.8355, allocations: 27.75 kB / 1.279 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.8359, allocations: 91.12 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.8363, allocations: 111 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.8372, allocations: 354.2 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009774/0.8382, allocations: 0.6363 MB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.8386, allocations: 157.1 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.839, allocations: 242.9 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.8393, allocations: 202.9 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.8394, allocations: 60 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.8395, allocations: 52 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.8396, allocations: 115.5 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.8398, allocations: 238.6 kB / 1.281 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007651/0.8406, allocations: 0.6921 MB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8406, allocations: 0 / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8406, allocations: 0 / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.8406, allocations: 0 / 1.281 GB, free: 13 MB / 0.9825 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.001382/0.842, allocations: 0.7614 MB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.842, allocations: 12.02 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.8421, allocations: 64.52 kB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/0.8431, allocations: 459.5 kB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.8431, allocations: 29.03 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.8431, allocations: 24.38 kB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.8438, allocations: 379.3 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.8438, allocations: 0 / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.8439, allocations: 16 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.8439, allocations: 8 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000612/0.8445, allocations: 254.4 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.8464, allocations: 1.383 MB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.8471, allocations: 257.3 kB / 1.285 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.8474, allocations: 128.7 kB / 1.285 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.8474, allocations: 8 kB / 1.285 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.8474, allocations: 30.56 kB / 1.285 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.8474, allocations: 0 / 1.285 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009142/0.8483, allocations: 371.9 kB / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.8484, allocations: 55.34 kB / 1.285 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.8489, allocations: 409.9 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.8489, allocations: 33.7 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.8491, allocations: 256.5 kB / 1.286 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/0.8492, allocations: 91.25 kB / 1.286 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.853e-05/0.8493, allocations: 61.92 kB / 1.286 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.8495, allocations: 358.7 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.8498, allocations: 96.5 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.8501, allocations: 160.8 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.8506, allocations: 273.5 kB / 1.287 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8506, allocations: 0 / 1.287 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006993/0.8513, allocations: 343 kB / 1.287 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.8514, allocations: 9.875 kB / 1.287 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.8514, allocations: 0 / 1.287 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.8514, allocations: 4 kB / 1.287 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.8517, allocations: 68.14 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.8517, allocations: 4 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.8519, allocations: 39.7 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.8519, allocations: 12 kB / 1.288 GB, free: 6.344 MB / 0.9825 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.0002119/0.8521, allocations: 173.7 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.8522, allocations: 43.72 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.8523, allocations: 52 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8523, allocations: 4 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.8523, allocations: 4 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8523, allocations: 3.938 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.8529, allocations: 408.3 kB / 1.288 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8529, allocations: 0 / 1.288 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.8531, allocations: 39.97 kB / 1.288 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.8531, allocations: 4 kB / 1.288 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.8532, allocations: 4 kB / 1.288 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.8532, allocations: 3.984 kB / 1.288 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.8532, allocations: 11.94 kB / 1.288 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.8541, allocations: 0.4939 MB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.8543, allocations: 67.67 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.8543, allocations: 4.062 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.8545, allocations: 19.98 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.8546, allocations: 11.97 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.8546, allocations: 15.92 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003385/0.8549, allocations: 283.2 kB / 1.289 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8549, allocations: 0 / 1.289 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003386/0.8553, allocations: 75.78 kB / 1.289 GB, free: 4.578 MB / 0.9825 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.0001197/0.8554, allocations: 111.2 kB / 1.289 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005969/0.856, allocations: 225.5 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.856, allocations: 0 / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.8562, allocations: 116.2 kB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.8569, allocations: 122.3 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.8583, allocations: 0.7415 MB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.8588, allocations: 0.8233 MB / 1.291 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002079/0.859, allocations: 59.23 kB / 1.291 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.8591, allocations: 31.42 kB / 1.291 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8591, allocations: 0 / 1.291 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of Templates: time 0.009465/0.8685, allocations: 4.004 MB / 1.295 GB, free: 14.36 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.634255533106625]