Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.002255/0.002255, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002714/0.002714, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.92/2.92, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.531e-06/5.531e-06, allocations: 4.875 kB / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.918e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00459/0.004629, allocations: 2.023 MB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00459/0.009218, allocations: 2.361 MB / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.00942, allocations: 7.938 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.01111, allocations: 462.4 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.01135, allocations: 72.62 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.0125, allocations: 281.3 kB / 0.8159 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.01312, allocations: 331.4 kB / 0.8162 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.01331, allocations: 50.12 kB / 0.8163 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.01364, allocations: 151.5 kB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.0139, allocations: 117.2 kB / 0.8165 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.01395, allocations: 8 kB / 0.8165 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007116/0.01466, allocations: 331.4 kB / 0.8169 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.01481, allocations: 103.6 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.01502, allocations: 100.7 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.01639, allocations: 0.8567 MB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.0164, allocations: 0 / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.322e-06/0.0164, allocations: 3.281 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.01642, allocations: 3.938 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00191/0.01833, allocations: 0.812 MB / 0.8187 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.01838, allocations: 12.03 kB / 0.8187 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.01856, allocations: 76.47 kB / 0.8188 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006711/0.01923, allocations: 342.3 kB / 0.8191 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.01926, allocations: 8.281 kB / 0.8191 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.01928, allocations: 12.31 kB / 0.8191 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.01961, allocations: 160.9 kB / 0.8193 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.01962, allocations: 9.875 kB / 0.8193 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.01964, allocations: 4 kB / 0.8193 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.01965, allocations: 0 / 0.8193 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.01988, allocations: 129.6 kB / 0.8194 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/0.02081, allocations: 472.1 kB / 0.8199 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.02105, allocations: 125.7 kB / 0.82 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.02118, allocations: 86.7 kB / 0.8201 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/0.02123, allocations: 4 kB / 0.8201 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.02151, allocations: 163.9 kB / 0.8202 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.02151, allocations: 0 / 0.8202 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0007337/0.02224, allocations: 378.4 kB / 0.8206 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.02232, allocations: 85.95 kB / 0.8207 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.02352, allocations: 0.7582 MB / 0.8214 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.02355, allocations: 34.55 kB / 0.8214 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.02391, allocations: 291.9 kB / 0.8217 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.02395, allocations: 23.81 kB / 0.8217 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.02403, allocations: 34.98 kB / 0.8218 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.02422, allocations: 310 kB / 0.8221 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.02434, allocations: 77.67 kB / 0.8221 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.02445, allocations: 78.39 kB / 0.8222 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.02469, allocations: 164.6 kB / 0.8224 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02469, allocations: 2.375 kB / 0.8224 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004926/0.02519, allocations: 312.6 kB / 0.8227 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.02524, allocations: 41.62 kB / 0.8227 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.02525, allocations: 0 / 0.8227 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.02527, allocations: 3.938 kB / 0.8227 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.02536, allocations: 8 kB / 0.8227 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.02537, allocations: 3.031 kB / 0.8227 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.02553, allocations: 15.92 kB / 0.8227 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.02555, allocations: 4 kB / 0.8227 GB, free: 5.594 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0004188/0.02597, allocations: 335.4 kB / 0.8231 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.02607, allocations: 67.58 kB / 0.8231 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.02664, allocations: 334.5 kB / 0.8235 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.02665, allocations: 3.938 kB / 0.8235 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.02665, allocations: 0.875 kB / 0.8235 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.02666, allocations: 4 kB / 0.8235 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.02711, allocations: 305.1 kB / 0.8238 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02711, allocations: 5.062 kB / 0.8238 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.02717, allocations: 15.98 kB / 0.8238 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.02717, allocations: 1.125 kB / 0.8238 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.02719, allocations: 4 kB / 0.8238 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.02719, allocations: 0 / 0.8238 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.0272, allocations: 3.938 kB / 0.8238 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.02772, allocations: 341.3 kB / 0.8241 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.02786, allocations: 71.55 kB / 0.8242 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.02792, allocations: 9.219 kB / 0.8242 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.02803, allocations: 4 kB / 0.8242 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.0281, allocations: 11.92 kB / 0.8242 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.02811, allocations: 4.5 kB / 0.8242 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008846/0.029, allocations: 0.5614 MB / 0.8248 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.029, allocations: 1.031 kB / 0.8248 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005214/0.02952, allocations: 135.8 kB / 0.8249 GB, free: 3.316 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000529/0.03005, allocations: 206.5 kB / 0.8251 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.03048, allocations: 244 kB / 0.8253 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.03049, allocations: 0 / 0.8253 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.03088, allocations: 153 kB / 0.8255 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.03155, allocations: 134.6 kB / 0.8256 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.03374, allocations: 1.113 MB / 0.8267 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.03426, allocations: 384.8 kB / 0.827 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.03438, allocations: 21.94 kB / 0.8271 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.03443, allocations: 20.5 kB / 0.8271 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.03443, allocations: 0 / 0.8271 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of Templates: time 0.01447/0.04889, allocations: 5.598 MB / 0.8325 GB, free: 11.5 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.498848472954705]