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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001067/0.001068, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001223, allocations: 66.72 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.332, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003931/0.336, allocations: 2.051 MB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.3397, allocations: 2.604 MB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.3399, allocations: 4 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3413, allocations: 0.5097 MB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3415, allocations: 67.53 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.3424, allocations: 271.4 kB / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.3428, allocations: 326.3 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.343, allocations: 93.06 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.3432, allocations: 107.5 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.3434, allocations: 127.2 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.3435, allocations: 8 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.344, allocations: 315.5 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3441, allocations: 107.5 kB / 1.075 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.3443, allocations: 218.5 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.3452, allocations: 0.8099 MB / 1.076 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3452, allocations: 3.938 kB / 1.076 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3452, allocations: 4 kB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.3452, allocations: 4 kB / 1.076 GB, free: 2.766 MB / 0.8262 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.001069/0.3463, allocations: 0.8681 MB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.3463, allocations: 12.03 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.3464, allocations: 64.09 kB / 1.077 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.3468, allocations: 388.3 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3468, allocations: 8.375 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.3469, allocations: 4.375 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.3471, allocations: 136.8 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3471, allocations: 0 / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3471, allocations: 4 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3471, allocations: 0 / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3473, allocations: 103.9 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.3481, allocations: 0.5432 MB / 1.078 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.3482, allocations: 110.5 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.3483, allocations: 60.97 kB / 1.078 GB, free: 328 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.3484, allocations: 8.188 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.3486, allocations: 141 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3486, allocations: 0 / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004854/0.3491, allocations: 314.4 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.3492, allocations: 85.11 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/0.3501, allocations: 0.7935 MB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3501, allocations: 25.7 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3503, allocations: 292.2 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3504, allocations: 27.64 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.3504, allocations: 29.7 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3505, allocations: 310 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.3506, allocations: 47.97 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.3507, allocations: 47.97 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3509, allocations: 156.2 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3509, allocations: 3.938 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003121/0.3512, allocations: 270.4 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.3512, allocations: 37.69 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3513, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3513, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.3513, allocations: 8 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3514, allocations: 0 / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.3515, allocations: 15.92 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3515, allocations: 8 kB / 1.08 GB, free: 13.62 MB / 0.8419 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.0003141/0.3518, allocations: 335.4 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.3519, allocations: 75.03 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.3523, allocations: 293 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3524, allocations: 0 / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3524, allocations: 3.938 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3524, allocations: 0 / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.3527, allocations: 377.4 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3527, allocations: 7.938 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.3528, allocations: 11.98 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3528, allocations: 3.984 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3528, allocations: 8 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3528, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3528, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.3532, allocations: 314.4 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3534, allocations: 144.2 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.3534, allocations: 4 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3536, allocations: 15.98 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.3536, allocations: 0 / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3536, allocations: 8.172 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007217/0.3544, allocations: 0.5848 MB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.084e-06/0.3544, allocations: 0 / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004488/0.3548, allocations: 123.9 kB / 1.083 GB, free: 11.23 MB / 0.8419 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.0004051/0.3552, allocations: 199.6 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.3555, allocations: 215.3 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3555, allocations: 0 / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.3557, allocations: 143.4 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.3562, allocations: 123.3 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.3577, allocations: 1.084 MB / 1.084 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.3583, allocations: 0.9781 MB / 1.085 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.711e-05/0.3584, allocations: 25.95 kB / 1.085 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.3584, allocations: 19.44 kB / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.3584, allocations: 0 / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of Templates: time 0.01214/0.3706, allocations: 5.54 MB / 1.091 GB, free: 2.914 MB / 0.8419 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