Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 187.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 71.89 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 160.8 MB / 1.218 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003877/1.113, allocations: 2.084 MB / 1.221 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003958/1.117, allocations: 2.624 MB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/1.117, allocations: 3.938 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/1.119, allocations: 0.5168 MB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001565/1.119, allocations: 67.58 kB / 1.224 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009566/1.12, allocations: 287 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004689/1.12, allocations: 318.4 kB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/1.12, allocations: 48 kB / 1.224 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/1.121, allocations: 111.5 kB / 1.224 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/1.121, allocations: 143.2 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/1.121, allocations: 8 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/1.122, allocations: 367.5 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/1.122, allocations: 107.5 kB / 1.225 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/1.122, allocations: 210.5 kB / 1.225 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/1.123, allocations: 0.8288 MB / 1.226 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.123, allocations: 0 / 1.226 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/1.123, allocations: 0 / 1.226 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.957e-06/1.123, allocations: 0 / 1.226 GB, free: 12.68 MB / 0.9356 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.001277/1.124, allocations: 0.8911 MB / 1.227 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.124, allocations: 12.03 kB / 1.227 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/1.124, allocations: 68.52 kB / 1.227 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/1.125, allocations: 400.9 kB / 1.227 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.125, allocations: 4.375 kB / 1.227 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/1.125, allocations: 8.375 kB / 1.227 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/1.125, allocations: 134.7 kB / 1.227 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.125, allocations: 7.938 kB / 1.227 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/1.125, allocations: 4 kB / 1.227 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.125, allocations: 0 / 1.227 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/1.126, allocations: 103.9 kB / 1.228 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009357/1.126, allocations: 0.5472 MB / 1.228 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/1.127, allocations: 98.47 kB / 1.228 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/1.127, allocations: 48.97 kB / 1.228 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/1.127, allocations: 4.188 kB / 1.228 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/1.127, allocations: 137 kB / 1.228 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/1.127, allocations: 4 kB / 1.228 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0005298/1.128, allocations: 314.8 kB / 1.229 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/1.128, allocations: 89.09 kB / 1.229 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/1.129, allocations: 0.7934 MB / 1.23 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/1.129, allocations: 25.7 kB / 1.23 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/1.129, allocations: 292.2 kB / 1.23 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/1.129, allocations: 23.81 kB / 1.23 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/1.129, allocations: 25.7 kB / 1.23 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.129, allocations: 318 kB / 1.23 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/1.129, allocations: 47.97 kB / 1.23 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/1.129, allocations: 47.97 kB / 1.23 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/1.13, allocations: 160.6 kB / 1.23 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.13, allocations: 3.938 kB / 1.23 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003451/1.13, allocations: 270.7 kB / 1.231 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/1.13, allocations: 41.69 kB / 1.231 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.13, allocations: 0 / 1.231 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.13, allocations: 0 / 1.231 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/1.13, allocations: 12 kB / 1.231 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.13, allocations: 0 / 1.231 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/1.13, allocations: 15.89 kB / 1.231 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/1.13, allocations: 7.984 kB / 1.231 GB, free: 7.496 MB / 0.9356 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.0003583/1.131, allocations: 341.2 kB / 1.231 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/1.131, allocations: 71.5 kB / 1.231 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/1.131, allocations: 293 kB / 1.231 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.131, allocations: 0 / 1.231 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.131, allocations: 4 kB / 1.231 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.131, allocations: 4 kB / 1.231 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/1.132, allocations: 373.5 kB / 1.232 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.132, allocations: 3.938 kB / 1.232 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/1.132, allocations: 15.92 kB / 1.232 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.132, allocations: 4 kB / 1.232 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/1.132, allocations: 0 / 1.232 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.132, allocations: 0 / 1.232 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.132, allocations: 4 kB / 1.232 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/1.132, allocations: 326.3 kB / 1.232 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/1.132, allocations: 152.5 kB / 1.232 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/1.132, allocations: 12 kB / 1.232 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.132, allocations: 7.984 kB / 1.232 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/1.132, allocations: 4 kB / 1.232 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/1.132, allocations: 7.984 kB / 1.232 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000746/1.133, allocations: 0.5887 MB / 1.233 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.133, allocations: 0 / 1.233 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004296/1.134, allocations: 115.9 kB / 1.233 GB, free: 5.086 MB / 0.9356 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.0004045/1.134, allocations: 202.9 kB / 1.233 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003066/1.134, allocations: 171.3 kB / 1.233 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.134, allocations: 0 / 1.233 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/1.134, allocations: 115.4 kB / 1.233 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/1.135, allocations: 134.8 kB / 1.234 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/1.137, allocations: 1.088 MB / 1.235 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/1.137, allocations: 0.9743 MB / 1.236 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.93e-05/1.137, allocations: 29.95 kB / 1.236 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/1.137, allocations: 15.44 kB / 1.236 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/1.137, allocations: 0 / 1.236 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of Templates: time 0.01209/1.15, allocations: 5.629 MB / 1.241 GB, free: 12.75 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.308663752861321]