Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001245/0.001245, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00232/0.00232, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.661/1.661, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.572/3.572, allocations: 0.505 GB / 0.8108 GB, free: 22.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002123/0.002123, allocations: 76.3 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5788/0.5809, allocations: 180.2 MB / 1.354 GB, free: 8.016 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005343/0.5863, allocations: 3.161 MB / 1.357 GB, free: 4.836 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.5888, allocations: 1.184 MB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.5892, allocations: 27.75 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.5895, allocations: 87.12 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.5897, allocations: 115 kB / 1.359 GB, free: 3.418 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000877/0.5906, allocations: 375.6 kB / 1.359 GB, free: 3.055 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007909/0.5914, allocations: 0.6441 MB / 1.36 GB, free: 2.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.5917, allocations: 162.4 kB / 1.36 GB, free: 2.246 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.5921, allocations: 243 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01619/0.6083, allocations: 206.8 kB / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.6084, allocations: 56 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.6085, allocations: 52 kB / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.6086, allocations: 115.5 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.6089, allocations: 238.6 kB / 1.361 GB, free: 1.352 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008362/0.6097, allocations: 0.6962 MB / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6097, allocations: 0 / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6097, allocations: 0 / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.6097, allocations: 0 / 1.361 GB, free: 0.6523 MB / 1.045 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/0.6111, allocations: 0.7743 MB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6112, allocations: 16.03 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.6115, allocations: 88.48 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/0.6125, allocations: 467.5 kB / 1.363 GB, free: 15.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.6125, allocations: 21.03 kB / 1.363 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.6126, allocations: 32.38 kB / 1.363 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.6133, allocations: 370.2 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6133, allocations: 4 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.6134, allocations: 12 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.6134, allocations: 7.938 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.614, allocations: 262.4 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.6158, allocations: 1.394 MB / 1.365 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.6165, allocations: 246.9 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.6168, allocations: 131 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.6168, allocations: 3.984 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.6169, allocations: 46.5 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.283e-06/0.6169, allocations: 0 / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0009184/0.6178, allocations: 363.9 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6178, allocations: 51.41 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.6183, allocations: 421.9 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.6183, allocations: 33.7 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.6186, allocations: 260.4 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.6187, allocations: 83.3 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.6188, allocations: 57.97 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.619, allocations: 354.8 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.6192, allocations: 92.52 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.6196, allocations: 168.7 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/0.6201, allocations: 279.3 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6201, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007062/0.6208, allocations: 345.1 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6208, allocations: 8 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6208, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.6209, allocations: 7.938 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.6211, allocations: 67.89 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6212, allocations: 4 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.6213, allocations: 27.81 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.6214, allocations: 16 kB / 1.368 GB, free: 9.938 MB / 1.061 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.0002206/0.6216, allocations: 181.8 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.6217, allocations: 47.67 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.6218, allocations: 52.03 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6218, allocations: 4 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6218, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6218, allocations: 3.984 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.6223, allocations: 408.3 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6223, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.6226, allocations: 59.89 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6226, allocations: 0 / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.6226, allocations: 11.94 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6226, allocations: 0 / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6226, allocations: 0 / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000993/0.6236, allocations: 0.5007 MB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.6237, allocations: 63.66 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.6238, allocations: 11.94 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.6239, allocations: 11.98 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.624, allocations: 15.97 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.624, allocations: 4 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00035/0.6244, allocations: 299.2 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6244, allocations: 0 / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003254/0.6247, allocations: 67.84 kB / 1.369 GB, free: 8.148 MB / 1.061 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.0001407/0.6249, allocations: 99.25 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006067/0.6255, allocations: 240 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.6255, allocations: 0 / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.6257, allocations: 111.8 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.6264, allocations: 127.7 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.6279, allocations: 0.7723 MB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.6284, allocations: 0.8311 MB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.6285, allocations: 39.42 kB / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of SimCode: time 7.62e-07/0.6285, allocations: 0 / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of Templates: time 0.009839/0.6384, allocations: 5.437 MB / 1.377 GB, free: 496 kB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.921686185989529]