Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006227/0.006227, allocations: 100.8 kB / 15.73 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 191.5 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3748, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004751/0.3796, allocations: 2.044 MB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005258/0.3849, allocations: 2.6 MB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.3851, allocations: 0 / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.3871, allocations: 0.5094 MB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.3874, allocations: 71.53 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3886, allocations: 269 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.3893, allocations: 341.5 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.3896, allocations: 97.02 kB / 1.214 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.3898, allocations: 107.5 kB / 1.214 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.3901, allocations: 131.2 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.3901, allocations: 11.94 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007559/0.3909, allocations: 323.5 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3911, allocations: 103.5 kB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.3914, allocations: 214.5 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3927, allocations: 0.8255 MB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3927, allocations: 0 / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.165e-06/0.3928, allocations: 0 / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.3928, allocations: 0 / 1.215 GB, free: 1.969 MB / 0.9669 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.001635/0.3944, allocations: 0.8758 MB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3945, allocations: 8.031 kB / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.3946, allocations: 68.09 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.3954, allocations: 380.4 kB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.3955, allocations: 4.375 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.3955, allocations: 16.38 kB / 1.217 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.396, allocations: 133.8 kB / 1.217 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.396, allocations: 0 / 1.217 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.396, allocations: 8 kB / 1.217 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.396, allocations: 0 / 1.217 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.3963, allocations: 99.94 kB / 1.217 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.3975, allocations: 0.5393 MB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.3978, allocations: 106.5 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.398, allocations: 60.97 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.373e-05/0.3981, allocations: 12.22 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.3984, allocations: 133 kB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 6.332e-06/0.3984, allocations: 3.984 kB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0007344/0.3991, allocations: 310.4 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.3992, allocations: 89.11 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.4006, allocations: 0.7934 MB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4006, allocations: 25.7 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.401, allocations: 292.2 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.4011, allocations: 23.66 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.4012, allocations: 29.7 kB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4014, allocations: 310 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.4015, allocations: 47.97 kB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.4016, allocations: 51.97 kB / 1.219 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.4019, allocations: 156.6 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4019, allocations: 0 / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005234/0.4025, allocations: 270.4 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.4025, allocations: 41.69 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4026, allocations: 0 / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4026, allocations: 3.938 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4027, allocations: 11.94 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4027, allocations: 0 / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.4029, allocations: 15.83 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.403, allocations: 8 kB / 1.22 GB, free: 12.82 MB / 0.9825 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.0004979/0.4035, allocations: 341.4 kB / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.4036, allocations: 67.19 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.4043, allocations: 289 kB / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4043, allocations: 4 kB / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4043, allocations: 0 / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4044, allocations: 3.938 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/0.4049, allocations: 381.3 kB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.405, allocations: 3.938 kB / 1.221 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.405, allocations: 15.98 kB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.405, allocations: 0 / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.4051, allocations: 12.12 kB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4051, allocations: 0 / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4051, allocations: 0 / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.4057, allocations: 309.9 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.4059, allocations: 140.3 kB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.421e-05/0.406, allocations: 4 kB / 1.221 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.4062, allocations: 15.98 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.4063, allocations: 4 kB / 1.221 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.4064, allocations: 7.984 kB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001118/0.4075, allocations: 0.5887 MB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4075, allocations: 0 / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008365/0.4084, allocations: 123.9 kB / 1.222 GB, free: 10.42 MB / 0.9825 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.0006887/0.4091, allocations: 184.5 kB / 1.222 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005644/0.4096, allocations: 207.3 kB / 1.223 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4097, allocations: 0 / 1.223 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.4099, allocations: 155.3 kB / 1.223 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008948/0.4108, allocations: 131.1 kB / 1.223 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4132, allocations: 1.073 MB / 1.224 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/0.414, allocations: 0.9782 MB / 1.225 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.4142, allocations: 29.94 kB / 1.225 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.4143, allocations: 15.44 kB / 1.225 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of SimCode: time 1.462e-06/0.4143, allocations: 3.938 kB / 1.225 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of Templates: time 0.01605/0.4303, allocations: 5.637 MB / 1.23 GB, free: 2.023 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches