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.001432/0.001432, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00172/0.00172, allocations: 157.6 kB / 23.01 MB, free: 4.602 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.522/1.522, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.843/2.843, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002117/0.002117, allocations: 63.91 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003409/1.046, allocations: 2.126 MB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002966/1.049, allocations: 2.529 MB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/1.049, allocations: 6.75 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/1.05, allocations: 496.3 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003261/1.05, allocations: 164.9 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/1.051, allocations: 204 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/1.051, allocations: 384.6 kB / 1.16 GB, free: 29.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/1.051, allocations: 24.91 kB / 1.16 GB, free: 29.67 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/1.051, allocations: 138.2 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/1.052, allocations: 157.3 kB / 1.16 GB, free: 29.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/1.052, allocations: 8.344 kB / 1.16 GB, free: 29.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/1.052, allocations: 70.81 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/1.052, allocations: 143.2 kB / 1.16 GB, free: 29.47 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/1.052, allocations: 159.5 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006237/1.053, allocations: 0.7249 MB / 1.161 GB, free: 29.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.053, allocations: 4 kB / 1.161 GB, free: 29.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/1.053, allocations: 0 / 1.161 GB, free: 29.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.766e-06/1.053, allocations: 3.938 kB / 1.161 GB, free: 29.12 MB / 1.076 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.001118/1.054, allocations: 0.8598 MB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.054, allocations: 10.72 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.97e-05/1.054, allocations: 75.61 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/1.055, allocations: 400.7 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/1.055, allocations: 7.344 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/1.055, allocations: 10.64 kB / 1.162 GB, free: 28.1 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/1.055, allocations: 150.8 kB / 1.163 GB, free: 27.97 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.055, allocations: 0 / 1.163 GB, free: 27.97 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/1.055, allocations: 2.844 kB / 1.163 GB, free: 27.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.055, allocations: 0 / 1.163 GB, free: 27.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/1.055, allocations: 44.34 kB / 1.163 GB, free: 27.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/1.055, allocations: 466.4 kB / 1.163 GB, free: 27.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/1.056, allocations: 108.7 kB / 1.163 GB, free: 27.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/1.056, allocations: 31 kB / 1.163 GB, free: 27.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/1.056, allocations: 4 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/1.056, allocations: 116.7 kB / 1.163 GB, free: 27.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/1.056, allocations: 0 / 1.163 GB, free: 27.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.000393/1.057, allocations: 208.1 kB / 1.163 GB, free: 27.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/1.057, allocations: 81.11 kB / 1.164 GB, free: 27.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008965/1.057, allocations: 0.9345 MB / 1.164 GB, free: 26.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/1.057, allocations: 25.7 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/1.058, allocations: 322 kB / 1.165 GB, free: 26.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/1.058, allocations: 20.56 kB / 1.165 GB, free: 26.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/1.058, allocations: 21.25 kB / 1.165 GB, free: 26.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/1.058, allocations: 317.4 kB / 1.165 GB, free: 26.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/1.058, allocations: 34.56 kB / 1.165 GB, free: 26.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/1.058, allocations: 120.5 kB / 1.165 GB, free: 26.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/1.058, allocations: 69.75 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.058, allocations: 0 / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002169/1.058, allocations: 172.8 kB / 1.166 GB, free: 26.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.058, allocations: 6.125 kB / 1.166 GB, free: 26.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.058, allocations: 3.234 kB / 1.166 GB, free: 26.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.058, allocations: 4.062 kB / 1.166 GB, free: 26.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/1.058, allocations: 11.81 kB / 1.166 GB, free: 26.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/1.058, allocations: 3.25 kB / 1.166 GB, free: 26.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/1.059, allocations: 14.48 kB / 1.166 GB, free: 26.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/1.059, allocations: 7.312 kB / 1.166 GB, free: 26.05 MB / 1.076 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.0002395/1.059, allocations: 322.6 kB / 1.166 GB, free: 25.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/1.059, allocations: 72.66 kB / 1.166 GB, free: 25.83 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/1.059, allocations: 189 kB / 1.166 GB, free: 25.74 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.059, allocations: 2.812 kB / 1.166 GB, free: 25.74 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.059, allocations: 7.094 kB / 1.166 GB, free: 25.74 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.059, allocations: 0 / 1.166 GB, free: 25.74 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/1.059, allocations: 330.8 kB / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.059, allocations: 10.31 kB / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/1.06, allocations: 9.562 kB / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.06, allocations: 0 / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.06, allocations: 2.875 kB / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.06, allocations: 480 / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.06, allocations: 0 / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/1.06, allocations: 219.9 kB / 1.167 GB, free: 25.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/1.06, allocations: 63.58 kB / 1.167 GB, free: 25.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/1.06, allocations: 8 kB / 1.167 GB, free: 25.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/1.06, allocations: 8.906 kB / 1.167 GB, free: 25.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/1.06, allocations: 6 kB / 1.167 GB, free: 25.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/1.06, allocations: 10.66 kB / 1.167 GB, free: 25.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006721/1.061, allocations: 0.6891 MB / 1.167 GB, free: 25.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.061, allocations: 0 / 1.167 GB, free: 25.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000291/1.061, allocations: 62.52 kB / 1.167 GB, free: 25.07 MB / 1.076 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.001694/1.063, allocations: 449.8 kB / 1.168 GB, free: 24.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002338/1.063, allocations: 88.08 kB / 1.168 GB, free: 24.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.063, allocations: 0 / 1.168 GB, free: 24.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/1.063, allocations: 42.41 kB / 1.168 GB, free: 24.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/1.064, allocations: 168.3 kB / 1.168 GB, free: 24.78 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/1.065, allocations: 1.157 MB / 1.169 GB, free: 24.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.066, allocations: 397.2 kB / 1.17 GB, free: 24.08 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001405/1.066, allocations: 50.56 kB / 1.17 GB, free: 24.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/1.066, allocations: 29.19 kB / 1.17 GB, free: 24.05 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/1.066, allocations: 3.938 kB / 1.17 GB, free: 24.05 MB / 1.076 GB Notification: Performance of Templates: time 0.01565/1.081, allocations: 6.466 MB / 1.176 GB, free: 23.25 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.515444471035153]