Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.0007319/0.0007319, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001805, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006902/0.0006902, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000941/0.001631, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9989/0.9989, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07406/1.073, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.813/1.813, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4394/2.253, allocations: 123.3 MB / 0.7283 GB, free: 5.711 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.234e-05, allocations: 2.812 kB / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002456/0.002478, allocations: 2.277 MB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00281/0.005288, allocations: 2.771 MB / 0.7346 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.005423, allocations: 7.938 kB / 0.7346 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.006361, allocations: 0.502 MB / 0.7351 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.00663, allocations: 179.8 kB / 0.7353 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.00706, allocations: 210 kB / 0.7355 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.00745, allocations: 410.8 kB / 0.7359 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.007554, allocations: 33.19 kB / 0.7359 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.007858, allocations: 286.2 kB / 0.7362 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.008007, allocations: 112.3 kB / 0.7363 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.008036, allocations: 8 kB / 0.7363 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.008221, allocations: 73.08 kB / 0.7363 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.00835, allocations: 139.4 kB / 0.7365 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.008458, allocations: 91.62 kB / 0.7366 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.00891, allocations: 419.5 kB / 0.737 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.008924, allocations: 0 / 0.737 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.372e-06/0.008925, allocations: 0 / 0.737 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.008939, allocations: 1.25 kB / 0.737 GB, free: 12.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00087/0.009809, allocations: 0.9191 MB / 0.7379 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.009842, allocations: 12.03 kB / 0.7379 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.009905, allocations: 37.92 kB / 0.7379 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.01021, allocations: 362.3 kB / 0.7383 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.01022, allocations: 0.9062 kB / 0.7383 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.01024, allocations: 8.359 kB / 0.7383 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.01038, allocations: 105 kB / 0.7384 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.01038, allocations: 7.875 kB / 0.7384 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.01039, allocations: 4 kB / 0.7384 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.0104, allocations: 5.219 kB / 0.7384 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.01043, allocations: 15.98 kB / 0.7384 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.0108, allocations: 293.8 kB / 0.7387 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.01098, allocations: 117 kB / 0.7388 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.01101, allocations: 17.34 kB / 0.7388 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.01102, allocations: 4.688 kB / 0.7388 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.01113, allocations: 104.6 kB / 0.7389 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.01113, allocations: 0 / 0.7389 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001492/0.01128, allocations: 106.4 kB / 0.739 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.0113, allocations: 51.41 kB / 0.7391 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.01181, allocations: 0.7763 MB / 0.7398 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.01183, allocations: 29.7 kB / 0.7398 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.323e-05/0.01192, allocations: 177.9 kB / 0.74 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.01194, allocations: 16.92 kB / 0.74 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.01198, allocations: 29.69 kB / 0.7401 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.01204, allocations: 306 kB / 0.7404 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.01207, allocations: 15.77 kB / 0.7404 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.0121, allocations: 56.27 kB / 0.7404 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.01216, allocations: 51.89 kB / 0.7405 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01216, allocations: 2.75 kB / 0.7405 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001033/0.01226, allocations: 104.4 kB / 0.7406 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.01227, allocations: 4 kB / 0.7406 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01228, allocations: 0 / 0.7406 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.01229, allocations: 7.938 kB / 0.7406 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.01235, allocations: 19.97 kB / 0.7406 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.01235, allocations: 3.031 kB / 0.7406 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.01242, allocations: 11.89 kB / 0.7406 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.01242, allocations: 0 / 0.7406 GB, free: 9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.919e-05/0.01251, allocations: 117.7 kB / 0.7407 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.01255, allocations: 43.89 kB / 0.7408 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.01269, allocations: 132.4 kB / 0.7409 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.0127, allocations: 0 / 0.7409 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.0127, allocations: 1.688 kB / 0.7409 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.0127, allocations: 0 / 0.7409 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.01287, allocations: 197.7 kB / 0.7411 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01288, allocations: 0 / 0.7411 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.01291, allocations: 8 kB / 0.7411 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.01296, allocations: 64.45 kB / 0.7412 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01296, allocations: 0 / 0.7412 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.01297, allocations: 8.656 kB / 0.7412 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01297, allocations: 0 / 0.7412 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01297, allocations: 0.6562 kB / 0.7412 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.01334, allocations: 134.7 kB / 0.7413 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.01337, allocations: 8.594 kB / 0.7413 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.01343, allocations: 9.828 kB / 0.7413 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.01347, allocations: 11.98 kB / 0.7413 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.01348, allocations: 4 kB / 0.7413 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002863/0.01377, allocations: 391.3 kB / 0.7417 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01377, allocations: 3.938 kB / 0.7417 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001691/0.01394, allocations: 62.38 kB / 0.7418 GB, free: 7.777 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001203/0.01514, allocations: 0.5586 MB / 0.7423 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.01524, allocations: 39.28 kB / 0.7423 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.01525, allocations: 8 kB / 0.7424 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.958e-05/0.0153, allocations: 44.7 kB / 0.7424 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.01605, allocations: 1.512 MB / 0.7439 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.02013, allocations: 0.906 MB / 0.7448 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.02024, allocations: 179.1 kB / 0.7449 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.02035, allocations: 36.73 kB / 0.745 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.02056, allocations: 141.8 kB / 0.7451 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/0.02056, allocations: 0 / 0.7451 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of Templates: time 0.01081/0.03136, allocations: 7.324 MB / 0.7523 GB, free: 13.29 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.959322492592037]