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.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.002437/0.002437, allocations: 113.7 kB / 18.84 MB, free: 2.875 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.002589/0.002589, allocations: 187.3 kB / 22.1 MB, free: 5.184 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.581/1.581, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.329/3.329, allocations: 495.8 MB / 0.783 GB, free: 33.75 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002099/0.002099, allocations: 66.62 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4601, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004185/0.4643, allocations: 2.077 MB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004657/0.469, allocations: 2.608 MB / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.4692, allocations: 11.94 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001598/0.4708, allocations: 0.5056 MB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.4709, allocations: 67.53 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.4722, allocations: 291.2 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005359/0.4728, allocations: 321.4 kB / 1.312 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.4729, allocations: 49.14 kB / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.4731, allocations: 115.4 kB / 1.313 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.4733, allocations: 139.2 kB / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.4733, allocations: 8 kB / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.474, allocations: 351.5 kB / 1.313 GB, free: 11.27 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.4742, allocations: 115.5 kB / 1.313 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.4745, allocations: 214.5 kB / 1.313 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.00122/0.4757, allocations: 0.8249 MB / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4757, allocations: 0 / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.014e-06/0.4757, allocations: 0 / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.005e-06/0.4757, allocations: 0 / 1.314 GB, free: 10.11 MB / 1.014 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.001308/0.477, allocations: 0.8219 MB / 1.315 GB, free: 9.254 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.4771, allocations: 12.92 kB / 1.315 GB, free: 9.242 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.4772, allocations: 68.47 kB / 1.315 GB, free: 9.176 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/0.4778, allocations: 331.2 kB / 1.315 GB, free: 8.824 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.4778, allocations: 12.38 kB / 1.315 GB, free: 8.812 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.4778, allocations: 4.375 kB / 1.315 GB, free: 8.809 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.4781, allocations: 130.9 kB / 1.316 GB, free: 8.676 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4782, allocations: 0 / 1.316 GB, free: 8.676 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.4782, allocations: 4 kB / 1.316 GB, free: 8.672 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4782, allocations: 0 / 1.316 GB, free: 8.672 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.4784, allocations: 103.8 kB / 1.316 GB, free: 8.57 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009421/0.4793, allocations: 0.5111 MB / 1.316 GB, free: 8.016 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.4795, allocations: 106.5 kB / 1.316 GB, free: 7.902 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.4797, allocations: 52.97 kB / 1.316 GB, free: 7.848 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.4797, allocations: 4.188 kB / 1.316 GB, free: 7.844 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.4799, allocations: 140.9 kB / 1.316 GB, free: 7.688 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.4799, allocations: 0 / 1.316 GB, free: 7.688 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.0006715/0.4806, allocations: 311.2 kB / 1.317 GB, free: 7.371 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.4807, allocations: 85.14 kB / 1.317 GB, free: 7.27 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.4818, allocations: 0.7934 MB / 1.318 GB, free: 6.469 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4818, allocations: 25.7 kB / 1.318 GB, free: 6.438 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.4821, allocations: 296.3 kB / 1.318 GB, free: 6.145 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.4821, allocations: 23.75 kB / 1.318 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.4822, allocations: 29.7 kB / 1.318 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001571/0.4823, allocations: 314 kB / 1.318 GB, free: 5.773 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.4824, allocations: 51.92 kB / 1.318 GB, free: 5.723 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.4825, allocations: 51.91 kB / 1.318 GB, free: 5.672 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.4827, allocations: 152.2 kB / 1.319 GB, free: 5.508 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4827, allocations: 0 / 1.319 GB, free: 5.508 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.000378/0.4831, allocations: 274.8 kB / 1.319 GB, free: 5.227 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.4831, allocations: 41.69 kB / 1.319 GB, free: 5.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4831, allocations: 0 / 1.319 GB, free: 5.18 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4832, allocations: 0 / 1.319 GB, free: 5.18 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.4832, allocations: 8 kB / 1.319 GB, free: 5.172 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4832, allocations: 0 / 1.319 GB, free: 5.172 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.4834, allocations: 23.88 kB / 1.319 GB, free: 5.148 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.4834, allocations: 4 kB / 1.319 GB, free: 5.145 MB / 1.014 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.0004042/0.4838, allocations: 343.3 kB / 1.319 GB, free: 4.793 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.4839, allocations: 67.52 kB / 1.319 GB, free: 4.727 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.4844, allocations: 297.1 kB / 1.32 GB, free: 4.418 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4844, allocations: 0 / 1.32 GB, free: 4.418 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.4845, allocations: 7.984 kB / 1.32 GB, free: 4.41 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4845, allocations: 0 / 1.32 GB, free: 4.41 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.485, allocations: 352.5 kB / 1.32 GB, free: 4.023 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.485, allocations: 7.938 kB / 1.32 GB, free: 4.016 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.485, allocations: 8 kB / 1.32 GB, free: 4.008 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.485, allocations: 0 / 1.32 GB, free: 4.008 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.485, allocations: 8 kB / 1.32 GB, free: 4 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.485, allocations: 0 / 1.32 GB, free: 4 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.485, allocations: 0 / 1.32 GB, free: 4 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.4854, allocations: 314.2 kB / 1.32 GB, free: 3.668 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.4856, allocations: 75.44 kB / 1.32 GB, free: 3.594 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.4856, allocations: 15.92 kB / 1.32 GB, free: 3.578 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4857, allocations: 7.938 kB / 1.32 GB, free: 3.57 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.4858, allocations: 7.984 kB / 1.32 GB, free: 3.562 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.4858, allocations: 4 kB / 1.32 GB, free: 3.559 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0007704/0.4866, allocations: 0.5848 MB / 1.321 GB, free: 2.98 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4866, allocations: 0 / 1.321 GB, free: 2.98 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004553/0.487, allocations: 123.9 kB / 1.321 GB, free: 2.859 MB / 1.014 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.0004364/0.4875, allocations: 195.8 kB / 1.321 GB, free: 2.66 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003505/0.4878, allocations: 167.3 kB / 1.321 GB, free: 2.484 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4878, allocations: 0 / 1.321 GB, free: 2.484 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.488, allocations: 127.3 kB / 1.321 GB, free: 2.348 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.4885, allocations: 134.6 kB / 1.322 GB, free: 2.219 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.4902, allocations: 1.089 MB / 1.323 GB, free: 1.102 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.4909, allocations: 0.9743 MB / 1.324 GB, free: 104 kB / 1.014 GB
Notification: Performance of simCode: alias equations: time 9.603e-05/0.491, allocations: 33.94 kB / 1.324 GB, free: 72 kB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.491, allocations: 15.44 kB / 1.324 GB, free: 56 kB / 1.014 GB
Notification: Performance of SimCode: time 5.51e-07/0.491, allocations: 0 / 1.324 GB, free: 56 kB / 1.014 GB
Notification: Performance of Templates: time 0.01243/0.5035, allocations: 5.62 MB / 1.329 GB, free: 10.54 MB / 1.029 GB
"
[Timeout remaining time 299]
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: 10.2400616183877]