Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002211/0.002211, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.00273/0.00273, allocations: 162.8 kB / 22.46 MB, free: 5.359 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.589/1.589, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.854/2.854, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.21e-05, allocations: 6.219 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004152/0.004184, allocations: 2.128 MB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004318/0.008502, allocations: 2.527 MB / 0.9556 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.008644, allocations: 8 kB / 0.9556 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.01021, allocations: 497.5 kB / 0.956 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.01061, allocations: 175 kB / 0.9562 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.01121, allocations: 206.4 kB / 0.9564 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.01177, allocations: 409.9 kB / 0.9568 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.01192, allocations: 29.27 kB / 0.9568 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.01218, allocations: 175.5 kB / 0.957 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.01243, allocations: 131.6 kB / 0.9571 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.01247, allocations: 8 kB / 0.9571 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.01268, allocations: 71.83 kB / 0.9572 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.01288, allocations: 135.5 kB / 0.9573 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.01305, allocations: 103.5 kB / 0.9574 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009599/0.01401, allocations: 0.7047 MB / 0.9581 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.01401, allocations: 0 / 0.9581 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01401, allocations: 0 / 0.9581 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.01403, allocations: 0 / 0.9581 GB, free: 4.211 MB / 0.8575 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.001555/0.01558, allocations: 0.8584 MB / 0.9589 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.01564, allocations: 8.031 kB / 0.9589 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.01579, allocations: 72.47 kB / 0.959 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.01648, allocations: 402.2 kB / 0.9594 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.0165, allocations: 4.375 kB / 0.9594 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.01652, allocations: 12.31 kB / 0.9594 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.01681, allocations: 159.2 kB / 0.9596 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.01683, allocations: 3.938 kB / 0.9596 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.01684, allocations: 4 kB / 0.9596 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.01685, allocations: 0 / 0.9596 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.01698, allocations: 43.97 kB / 0.9596 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.01782, allocations: 460.3 kB / 0.9601 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.01825, allocations: 106.6 kB / 0.9602 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.01834, allocations: 32.84 kB / 0.9602 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.01837, allocations: 8 kB / 0.9602 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.0186, allocations: 113.1 kB / 0.9603 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.0186, allocations: 0 / 0.9603 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000497/0.0191, allocations: 205.1 kB / 0.9605 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.01917, allocations: 81.11 kB / 0.9606 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.02043, allocations: 0.9267 MB / 0.9615 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.02045, allocations: 29.7 kB / 0.9615 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.02081, allocations: 320 kB / 0.9618 GB, free: 216 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.02085, allocations: 19.84 kB / 0.9618 GB, free: 196 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.0209, allocations: 33.7 kB / 0.9619 GB, free: 156 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.02106, allocations: 306 kB / 0.9622 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.02115, allocations: 31.97 kB / 0.9622 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.02136, allocations: 118.8 kB / 0.9623 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.02154, allocations: 85.92 kB / 0.9624 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.02154, allocations: 0 / 0.9624 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003315/0.02187, allocations: 177.1 kB / 0.9626 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.02189, allocations: 10.03 kB / 0.9626 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.0219, allocations: 0 / 0.9626 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.02191, allocations: 4.062 kB / 0.9626 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.022, allocations: 12 kB / 0.9626 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.02201, allocations: 0 / 0.9626 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.02214, allocations: 11.94 kB / 0.9626 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.02215, allocations: 12.12 kB / 0.9626 GB, free: 15.36 MB / 0.8731 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 0.0003852/0.02254, allocations: 325.6 kB / 0.9629 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.02263, allocations: 79.41 kB / 0.963 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.02304, allocations: 188.1 kB / 0.9632 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.02304, allocations: 0 / 0.9632 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.02304, allocations: 4 kB / 0.9632 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.02305, allocations: 0 / 0.9632 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.02348, allocations: 337 kB / 0.9635 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.02348, allocations: 0 / 0.9635 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.02353, allocations: 4 kB / 0.9635 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.02353, allocations: 4 kB / 0.9635 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.02355, allocations: 3.984 kB / 0.9635 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.02355, allocations: 0 / 0.9635 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02355, allocations: 0 / 0.9635 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.02392, allocations: 216.5 kB / 0.9637 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.02403, allocations: 67.47 kB / 0.9638 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.02409, allocations: 7.984 kB / 0.9638 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.02422, allocations: 4 kB / 0.9638 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.02429, allocations: 11.98 kB / 0.9638 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.02431, allocations: 4 kB / 0.9638 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009435/0.02525, allocations: 0.6824 MB / 0.9645 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.02525, allocations: 4 kB / 0.9645 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003575/0.02561, allocations: 63.92 kB / 0.9645 GB, free: 13.32 MB / 0.8731 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.001939/0.02755, allocations: 455.3 kB / 0.965 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.02785, allocations: 75.91 kB / 0.965 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.02786, allocations: 0 / 0.965 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.02797, allocations: 39.97 kB / 0.9651 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.02879, allocations: 171.6 kB / 0.9652 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.03103, allocations: 1.139 MB / 0.9664 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.03162, allocations: 407.6 kB / 0.9667 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000171/0.03179, allocations: 46.95 kB / 0.9668 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.03187, allocations: 28.48 kB / 0.9668 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.03187, allocations: 0 / 0.9668 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.01475/0.04663, allocations: 6.409 MB / 0.9731 GB, free: 4.883 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 8.748346999287605]