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.001627/0.001627, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00181/0.00181, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.656/1.656, allocations: 230.6 MB / 256.8 MB, free: 8.055 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 3/3, allocations: 476.8 MB / 0.7714 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 73.8 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4309, allocations: 169.9 MB / 1.285 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005546/0.4365, allocations: 3.172 MB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.439, allocations: 1.188 MB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.4392, allocations: 23.81 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.4396, allocations: 95 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.4398, allocations: 115 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000879/0.4407, allocations: 378.9 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007846/0.4415, allocations: 0.6363 MB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.4418, allocations: 170.4 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.4422, allocations: 235 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.4425, allocations: 206.8 kB / 1.291 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.4426, allocations: 55.98 kB / 1.291 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.4427, allocations: 56 kB / 1.291 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.4428, allocations: 115.6 kB / 1.291 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.4431, allocations: 238.6 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008959/0.444, allocations: 0.7041 MB / 1.292 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.444, allocations: 0 / 1.292 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.444, allocations: 0 / 1.292 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.444, allocations: 0 / 1.292 GB, free: 3.922 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.001459/0.4455, allocations: 0.7576 MB / 1.293 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.4455, allocations: 8.031 kB / 1.293 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.4459, allocations: 96.47 kB / 1.293 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.4469, allocations: 463.5 kB / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.447, allocations: 21.03 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.447, allocations: 36.38 kB / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.4478, allocations: 371.2 kB / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4478, allocations: 4 kB / 1.293 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.4478, allocations: 12 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.4478, allocations: 11.98 kB / 1.294 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.4484, allocations: 250.4 kB / 1.294 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.4503, allocations: 1.394 MB / 1.295 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.4511, allocations: 246.9 kB / 1.295 GB, free: 120 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.4514, allocations: 137.4 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.4514, allocations: 3.984 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.4515, allocations: 38.56 kB / 1.296 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.4515, allocations: 0 / 1.296 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009083/0.4524, allocations: 365 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.4524, allocations: 55.41 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.4529, allocations: 421.9 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.453, allocations: 29.7 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.4532, allocations: 256.4 kB / 1.297 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.4533, allocations: 91.22 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4534, allocations: 57.97 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.4536, allocations: 358.7 kB / 1.297 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.4539, allocations: 92.5 kB / 1.297 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.4542, allocations: 168.7 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.4548, allocations: 269.9 kB / 1.298 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4548, allocations: 3.938 kB / 1.298 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006795/0.4555, allocations: 345 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4555, allocations: 8 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4555, allocations: 0 / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.4555, allocations: 8.234 kB / 1.298 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.4558, allocations: 67.89 kB / 1.298 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.4558, allocations: 0 / 1.298 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.456, allocations: 35.81 kB / 1.298 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.456, allocations: 12 kB / 1.298 GB, free: 13.23 MB / 0.9981 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.0002094/0.4562, allocations: 177.1 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.4563, allocations: 47.67 kB / 1.298 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.4564, allocations: 52.09 kB / 1.298 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4564, allocations: 0 / 1.298 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4564, allocations: 4 kB / 1.298 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4564, allocations: 3.938 kB / 1.298 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.457, allocations: 408.3 kB / 1.299 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.457, allocations: 0 / 1.299 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.4572, allocations: 51.91 kB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4572, allocations: 0 / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.4572, allocations: 7.984 kB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4573, allocations: 4 kB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4573, allocations: 4 kB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/0.4582, allocations: 0.4969 MB / 1.299 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.4584, allocations: 63.66 kB / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.4584, allocations: 12.06 kB / 1.299 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.4586, allocations: 11.92 kB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.4587, allocations: 19.97 kB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.4587, allocations: 11.92 kB / 1.299 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003503/0.459, allocations: 295.1 kB / 1.3 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.459, allocations: 0 / 1.3 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003259/0.4594, allocations: 71.84 kB / 1.3 GB, free: 11.45 MB / 0.9981 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.000154/0.4595, allocations: 107.2 kB / 1.3 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.4601, allocations: 231.6 kB / 1.3 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4601, allocations: 0 / 1.3 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.4604, allocations: 113.2 kB / 1.3 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.461, allocations: 127.1 kB / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.4626, allocations: 0.7775 MB / 1.301 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.4632, allocations: 0.8233 MB / 1.302 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.4633, allocations: 39.42 kB / 1.302 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.4633, allocations: 0 / 1.302 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.009437/0.4727, allocations: 5.422 MB / 1.307 GB, free: 3.801 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/jenkins1/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: 13.1324465170037]