Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009473/0.0009473, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.002173, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007295/0.0007295, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009466/0.001676, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9219/0.9219, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1101/1.032, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.724/1.724, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4602/2.185, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.919e-05, allocations: 3.25 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003018/0.003037, allocations: 3.026 MB / 0.7323 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.004395, allocations: 1.212 MB / 0.7334 GB, free: 356 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.004576, allocations: 25.19 kB / 0.7335 GB, free: 332 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.004735, allocations: 95.05 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.004881, allocations: 117.2 kB / 0.7337 GB, free: 120 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.005282, allocations: 356.2 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000416/0.005698, allocations: 0.6368 MB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.005905, allocations: 165.1 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.00627, allocations: 390 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.006406, allocations: 132.5 kB / 0.7353 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.006451, allocations: 48.53 kB / 0.7353 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.482e-05/0.006536, allocations: 63.97 kB / 0.7354 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.006582, allocations: 76.59 kB / 0.7355 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.858e-05/0.006661, allocations: 115.6 kB / 0.7356 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.006979, allocations: 327.5 kB / 0.7359 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.676e-05/0.006996, allocations: 0 / 0.7359 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.51e-07/0.006997, allocations: 4 kB / 0.7359 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.007014, allocations: 1.438 kB / 0.7359 GB, free: 13.83 MB / 0.7136 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.0007854/0.007799, allocations: 0.796 MB / 0.7367 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.007844, allocations: 14.09 kB / 0.7367 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.00807, allocations: 162 kB / 0.7368 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.008478, allocations: 395 kB / 0.7372 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.008498, allocations: 29.84 kB / 0.7372 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.008532, allocations: 28.38 kB / 0.7373 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.008813, allocations: 325.1 kB / 0.7376 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.008823, allocations: 4.188 kB / 0.7376 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.00884, allocations: 12.38 kB / 0.7376 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.008848, allocations: 11.94 kB / 0.7376 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.008956, allocations: 89.62 kB / 0.7377 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007404/0.009696, allocations: 1.019 MB / 0.7387 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.009926, allocations: 131.1 kB / 0.7388 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.496e-05/0.01002, allocations: 72.41 kB / 0.7389 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.01005, allocations: 4 kB / 0.7389 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.01007, allocations: 34.56 kB / 0.7389 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/0.01007, allocations: 0.6875 kB / 0.7389 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0002763/0.01035, allocations: 158.4 kB / 0.7391 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.01038, allocations: 51.41 kB / 0.7391 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.01059, allocations: 383.2 kB / 0.7395 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.01061, allocations: 25.7 kB / 0.7395 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.0107, allocations: 210.8 kB / 0.7397 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.01074, allocations: 79.33 kB / 0.7398 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.0108, allocations: 57.94 kB / 0.7398 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.0109, allocations: 358.7 kB / 0.7402 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.01093, allocations: 25.3 kB / 0.7402 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.011, allocations: 89.59 kB / 0.7403 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.01113, allocations: 149.2 kB / 0.7404 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01113, allocations: 0.9375 kB / 0.7404 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000178/0.01131, allocations: 172.5 kB / 0.7406 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01132, allocations: 8 kB / 0.7406 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.01133, allocations: 11.92 kB / 0.7406 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.01134, allocations: 0 / 0.7406 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.01152, allocations: 70.66 kB / 0.7407 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01152, allocations: 7.984 kB / 0.7407 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.0116, allocations: 35.78 kB / 0.7407 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.01161, allocations: 4 kB / 0.7407 GB, free: 8.613 MB / 0.7136 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 9.237e-05/0.0117, allocations: 121.8 kB / 0.7409 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01174, allocations: 43.89 kB / 0.7409 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.01179, allocations: 49.58 kB / 0.7409 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.0118, allocations: 0 / 0.7409 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.0118, allocations: 0 / 0.7409 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.01181, allocations: 7.984 kB / 0.7409 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.012, allocations: 222.5 kB / 0.7412 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.012, allocations: 0 / 0.7412 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.01212, allocations: 49.84 kB / 0.7412 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.01219, allocations: 55.53 kB / 0.7413 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01219, allocations: 0 / 0.7413 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.0122, allocations: 8 kB / 0.7413 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.0122, allocations: 0 / 0.7413 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01221, allocations: 0.6562 kB / 0.7413 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.01245, allocations: 262.3 kB / 0.7415 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.01247, allocations: 8.438 kB / 0.7415 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.01254, allocations: 15.2 kB / 0.7415 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.01258, allocations: 19.97 kB / 0.7416 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.01259, allocations: 0 / 0.7416 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001044/0.01269, allocations: 164.7 kB / 0.7417 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01269, allocations: 3.938 kB / 0.7417 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001668/0.01286, allocations: 63.89 kB / 0.7418 GB, free: 7.508 MB / 0.7136 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.76e-05/0.01295, allocations: 84.42 kB / 0.7419 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01309, allocations: 113 kB / 0.742 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/0.0131, allocations: 11.98 kB / 0.742 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.01317, allocations: 61.86 kB / 0.742 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.01352, allocations: 154.9 kB / 0.7422 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.01529, allocations: 0.7108 MB / 0.7429 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.353e-05/0.01535, allocations: 105.2 kB / 0.743 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.01547, allocations: 47.8 kB / 0.743 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.01563, allocations: 131.2 kB / 0.7432 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of SimCode: time 1.372e-06/0.01563, allocations: 0 / 0.7432 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of Templates: time 0.006689/0.02232, allocations: 4.472 MB / 0.7475 GB, free: 1.855 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.708617799915373]