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.001026/0.001026, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001645/0.002672, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001103/0.001103, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.002618, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9208/0.9208, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08305/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.3/2.3, allocations: 447.1 MB / 0.675 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2369/2.537, allocations: 146 MB / 0.8176 GB, free: 3.797 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.999e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00295/0.00297, allocations: 3.029 MB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.004482, allocations: 1.219 MB / 0.823 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.004726, allocations: 27.75 kB / 0.8231 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.004904, allocations: 95.05 kB / 0.8232 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.005067, allocations: 118.9 kB / 0.8233 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.005526, allocations: 355.3 kB / 0.8236 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.005979, allocations: 0.6323 MB / 0.8242 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.006189, allocations: 160.4 kB / 0.8244 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.006597, allocations: 402.1 kB / 0.8248 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.006739, allocations: 143.3 kB / 0.8249 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.006788, allocations: 48 kB / 0.8249 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.006867, allocations: 48 kB / 0.825 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.006915, allocations: 79.69 kB / 0.8251 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.007229, allocations: 107.7 kB / 0.8252 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.007551, allocations: 338.5 kB / 0.8255 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.007564, allocations: 0 / 0.8255 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.052e-06/0.007565, allocations: 0 / 0.8255 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.00758, allocations: 8 kB / 0.8255 GB, free: 11.68 MB / 0.8073 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.0007503/0.008331, allocations: 0.7947 MB / 0.8263 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.008368, allocations: 16.02 kB / 0.8263 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.008591, allocations: 158 kB / 0.8264 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.009004, allocations: 396.9 kB / 0.8268 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.009019, allocations: 21.03 kB / 0.8268 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.009058, allocations: 40.3 kB / 0.8269 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.009344, allocations: 326.9 kB / 0.8272 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.009353, allocations: 192 / 0.8272 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.00937, allocations: 12.38 kB / 0.8272 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.009382, allocations: 11.94 kB / 0.8272 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.009489, allocations: 80.48 kB / 0.8273 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.01022, allocations: 1.021 MB / 0.8283 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.01044, allocations: 130.4 kB / 0.8284 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.01053, allocations: 79.78 kB / 0.8285 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.01055, allocations: 4 kB / 0.8285 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.01057, allocations: 34.5 kB / 0.8285 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.192e-06/0.01057, allocations: 0 / 0.8285 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0002122/0.01079, allocations: 156.3 kB / 0.8287 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.01081, allocations: 51.41 kB / 0.8287 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.01102, allocations: 379.2 kB / 0.8291 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.01104, allocations: 29.7 kB / 0.8291 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.01112, allocations: 205.7 kB / 0.8293 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.01116, allocations: 83.27 kB / 0.8294 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.01121, allocations: 57.94 kB / 0.8294 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.0113, allocations: 358.7 kB / 0.8298 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.01134, allocations: 24.55 kB / 0.8298 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.01141, allocations: 105.8 kB / 0.8299 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.01153, allocations: 145.7 kB / 0.83 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01153, allocations: 0 / 0.83 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001663/0.0117, allocations: 188.3 kB / 0.8302 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01171, allocations: 6.344 kB / 0.8302 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01172, allocations: 4 kB / 0.8302 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01173, allocations: 4 kB / 0.8302 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.0119, allocations: 67.89 kB / 0.8303 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.01191, allocations: 4.234 kB / 0.8303 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.01199, allocations: 35.78 kB / 0.8303 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.012, allocations: 8 kB / 0.8304 GB, free: 6.422 MB / 0.8073 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.conHeaCoi.I.trigger_internal,conHeaFan.conFan.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 8.623e-05/0.01208, allocations: 133.7 kB / 0.8305 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.01212, allocations: 35.91 kB / 0.8305 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.01217, allocations: 48.05 kB / 0.8306 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01217, allocations: 0 / 0.8306 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01218, allocations: 7.984 kB / 0.8306 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01218, allocations: 0 / 0.8306 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.01238, allocations: 217.6 kB / 0.8308 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01238, allocations: 4 kB / 0.8308 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.0125, allocations: 51.97 kB / 0.8308 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.01256, allocations: 47.58 kB / 0.8309 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01256, allocations: 4 kB / 0.8309 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01257, allocations: 4 kB / 0.8309 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01258, allocations: 3.938 kB / 0.8309 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01258, allocations: 0 / 0.8309 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.0128, allocations: 267.2 kB / 0.8311 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.01283, allocations: 7.938 kB / 0.8311 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.0129, allocations: 16.02 kB / 0.8312 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.01294, allocations: 15.97 kB / 0.8312 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01294, allocations: 4 kB / 0.8312 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001061/0.01305, allocations: 164.7 kB / 0.8313 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01305, allocations: 0 / 0.8313 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001799/0.01323, allocations: 59.89 kB / 0.8314 GB, free: 5.312 MB / 0.8073 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 8.832e-05/0.01332, allocations: 88.36 kB / 0.8315 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.01347, allocations: 122.4 kB / 0.8316 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.01348, allocations: 8 kB / 0.8316 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.01355, allocations: 72.75 kB / 0.8317 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.01433, allocations: 0.9121 MB / 0.8326 GB, free: 3.949 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.01604, allocations: 0.6988 MB / 0.8332 GB, free: 3.219 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.426e-05/0.0161, allocations: 109.1 kB / 0.8334 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.01623, allocations: 51.25 kB / 0.8334 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.01639, allocations: 135.3 kB / 0.8335 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.01639, allocations: 0 / 0.8335 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of Templates: time 0.006575/0.02297, allocations: 4.381 MB / 0.8378 GB, free: 14.68 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.991164947859943]