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.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.0008061/0.0008061, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008732/0.0008732, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8702/0.8702, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.67/1.67, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.663e-06/1.663e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.655e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003153/0.00318, allocations: 2.897 MB / 0.9545 GB, free: 92 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.004664, allocations: 1.157 MB / 0.9557 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.00485, allocations: 27.75 kB / 0.9557 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.005067, allocations: 91.12 kB / 0.9558 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.005216, allocations: 107 kB / 0.9559 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.005726, allocations: 364.1 kB / 0.9562 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.006145, allocations: 0.6557 MB / 0.9569 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.006376, allocations: 158.2 kB / 0.957 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.006745, allocations: 335.1 kB / 0.9573 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.006897, allocations: 151.5 kB / 0.9575 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.006943, allocations: 52 kB / 0.9575 GB, free: 13 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.007008, allocations: 59.98 kB / 0.9576 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.00706, allocations: 107.5 kB / 0.9577 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.007143, allocations: 143.5 kB / 0.9578 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.007614, allocations: 0.7008 MB / 0.9585 GB, free: 12 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.007617, allocations: 7.984 kB / 0.9585 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.324e-06/0.00762, allocations: 0 / 0.9585 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.007626, allocations: 0 / 0.9585 GB, free: 11.99 MB / 0.9167 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.0008833/0.008509, allocations: 0.7653 MB / 0.9593 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.008553, allocations: 8.031 kB / 0.9593 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.008771, allocations: 84.53 kB / 0.9594 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.00938, allocations: 478.6 kB / 0.9598 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.009401, allocations: 24.97 kB / 0.9598 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.009444, allocations: 28.38 kB / 0.9599 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.009908, allocations: 419 kB / 0.9603 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.009923, allocations: 4.125 kB / 0.9603 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.00995, allocations: 20.36 kB / 0.9603 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.009963, allocations: 15.94 kB / 0.9603 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.01032, allocations: 246.4 kB / 0.9605 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.01153, allocations: 1.259 MB / 0.9618 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.01197, allocations: 246.9 kB / 0.962 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.01213, allocations: 124.8 kB / 0.9621 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.01216, allocations: 8 kB / 0.9621 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.01218, allocations: 38.56 kB / 0.9622 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=23): time 2.805e-06/0.01219, allocations: 0 / 0.9622 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.0005833/0.01277, allocations: 363 kB / 0.9625 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.0128, allocations: 55.41 kB / 0.9626 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.01312, allocations: 418 kB / 0.963 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.01314, allocations: 37.7 kB / 0.963 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.01328, allocations: 260.4 kB / 0.9633 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.01333, allocations: 91.22 kB / 0.9633 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.01339, allocations: 53.98 kB / 0.9634 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.0135, allocations: 354.8 kB / 0.9637 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.01365, allocations: 88.52 kB / 0.9638 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.01382, allocations: 164.8 kB / 0.964 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.01415, allocations: 281.3 kB / 0.9642 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.01415, allocations: 0 / 0.9642 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004077/0.01456, allocations: 333.1 kB / 0.9646 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.01458, allocations: 12.23 kB / 0.9646 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01459, allocations: 4 kB / 0.9646 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.01461, allocations: 4 kB / 0.9646 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.01493, allocations: 59.91 kB / 0.9646 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.01495, allocations: 11.92 kB / 0.9646 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.01515, allocations: 23.84 kB / 0.9647 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.01517, allocations: 19.98 kB / 0.9647 GB, free: 5.391 MB / 0.9167 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.0002479/0.01542, allocations: 178.8 kB / 0.9649 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.0155, allocations: 51.61 kB / 0.9649 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.01562, allocations: 52.09 kB / 0.965 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.01562, allocations: 4 kB / 0.965 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01563, allocations: 0 / 0.965 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01563, allocations: 0 / 0.965 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.01591, allocations: 325 kB / 0.9653 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01591, allocations: 0 / 0.9653 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.01604, allocations: 43.97 kB / 0.9653 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01604, allocations: 3.938 kB / 0.9653 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.01606, allocations: 11.98 kB / 0.9653 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01606, allocations: 4 kB / 0.9653 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01607, allocations: 0 / 0.9653 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.01666, allocations: 0.4945 MB / 0.9658 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.01675, allocations: 71.61 kB / 0.9659 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.01678, allocations: 11.98 kB / 0.9659 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.01686, allocations: 12.06 kB / 0.9659 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.01692, allocations: 19.95 kB / 0.9659 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01693, allocations: 4 kB / 0.9659 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003342/0.01727, allocations: 295.1 kB / 0.9662 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01727, allocations: 0 / 0.9662 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002085/0.01748, allocations: 63.89 kB / 0.9663 GB, free: 3.715 MB / 0.9167 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.0001173/0.01759, allocations: 107.2 kB / 0.9664 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.01797, allocations: 236.2 kB / 0.9666 GB, free: 3.371 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01797, allocations: 4 kB / 0.9666 GB, free: 3.367 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.01811, allocations: 107.9 kB / 0.9667 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.01856, allocations: 133.3 kB / 0.9668 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/0.01948, allocations: 0.7614 MB / 0.9676 GB, free: 2.348 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.01962, allocations: 220.3 kB / 0.9678 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-05/0.0197, allocations: 40.48 kB / 0.9678 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of SimCode: time 1.182e-06/0.01971, allocations: 0 / 0.9678 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of Templates: time 0.005519/0.02523, allocations: 5.617 MB / 0.9733 GB, free: 12.5 MB / 0.9323 GB " [Timeout remaining time 300] 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: 6.656922401860356]