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.001796/0.001795, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.002133/0.002133, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.82, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004069/0.8241, allocations: 2.051 MB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.8281, allocations: 2.604 MB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.8283, allocations: 7.938 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.8299, allocations: 0.5033 MB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.8301, allocations: 71.52 kB / 1.214 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.8312, allocations: 284.2 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005391/0.8318, allocations: 318.4 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.832, allocations: 93.05 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.8322, allocations: 111.4 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.8325, allocations: 135.2 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.8326, allocations: 8 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005877/0.8332, allocations: 319.5 kB / 1.215 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.8333, allocations: 107.5 kB / 1.215 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.8336, allocations: 210.5 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.8349, allocations: 0.8216 MB / 1.216 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8349, allocations: 0 / 1.216 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8349, allocations: 4 kB / 1.216 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.8349, allocations: 0 / 1.216 GB, free: 6.008 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.001042/0.8359, allocations: 0.8643 MB / 1.217 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.836, allocations: 15.97 kB / 1.217 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.8361, allocations: 64.09 kB / 1.217 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.8366, allocations: 392.3 kB / 1.217 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.8366, allocations: 12.36 kB / 1.217 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.8367, allocations: 4.375 kB / 1.217 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.8369, allocations: 137.8 kB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8369, allocations: 4 kB / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.837, allocations: 0 / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.837, allocations: 0 / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.8372, allocations: 99.94 kB / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000805/0.838, allocations: 0.547 MB / 1.218 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.8382, allocations: 106.5 kB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/0.8382, allocations: 69.16 kB / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.8383, allocations: 7.938 kB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.8385, allocations: 133.1 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.8385, allocations: 0 / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004926/0.839, allocations: 314.5 kB / 1.219 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.8391, allocations: 81.09 kB / 1.219 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009467/0.84, allocations: 0.7935 MB / 1.219 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.8401, allocations: 29.7 kB / 1.219 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.8403, allocations: 292.2 kB / 1.22 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.8404, allocations: 19.66 kB / 1.22 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.8404, allocations: 33.7 kB / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8406, allocations: 306 kB / 1.22 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.8406, allocations: 47.97 kB / 1.22 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.8407, allocations: 47.98 kB / 1.22 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.8409, allocations: 160.2 kB / 1.22 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8409, allocations: 0 / 1.22 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003253/0.8412, allocations: 282.7 kB / 1.221 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.8413, allocations: 37.69 kB / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8413, allocations: 0 / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.8413, allocations: 0 / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.8414, allocations: 8 kB / 1.221 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.8414, allocations: 3.938 kB / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.8416, allocations: 8 kB / 1.221 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.8416, allocations: 4 kB / 1.221 GB, free: 0.8633 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.000314/0.8419, allocations: 339.4 kB / 1.221 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.842, allocations: 71.09 kB / 1.221 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.8424, allocations: 300.9 kB / 1.221 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8424, allocations: 0 / 1.221 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.8425, allocations: 0 / 1.221 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8425, allocations: 0 / 1.221 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.8429, allocations: 389.2 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8429, allocations: 0 / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.8429, allocations: 8 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.8429, allocations: 7.984 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.843, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.843, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.843, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.8434, allocations: 310.1 kB / 1.222 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.8435, allocations: 144.2 kB / 1.222 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.8436, allocations: 15.98 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.8437, allocations: 11.92 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.8438, allocations: 4 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.8438, allocations: 8 kB / 1.222 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006896/0.8445, allocations: 0.5848 MB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8445, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004225/0.8449, allocations: 128 kB / 1.223 GB, free: 14.45 MB / 0.9512 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.0004466/0.8454, allocations: 187.2 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.8457, allocations: 207.3 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8457, allocations: 4 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.8458, allocations: 143.4 kB / 1.223 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.8464, allocations: 130.4 kB / 1.223 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.8481, allocations: 1.126 MB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.8488, allocations: 0.982 MB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.8488, allocations: 15.44 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.8488, allocations: 0 / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of Templates: time 0.01112/0.8599, allocations: 6.726 MB / 1.232 GB, free: 4.902 MB / 0.9512 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/jenkins1/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