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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.007951/0.007951, allocations: 101 kB / 15.87 MB, free: 5.867 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.001481/0.001481, allocations: 190.8 kB / 16.79 MB, free: 5.809 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.008/3.008, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.8 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3331, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004199/0.3373, allocations: 2.104 MB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.3413, allocations: 2.62 MB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.3415, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.3432, allocations: 0.5098 MB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.3434, allocations: 63.66 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.3443, allocations: 210.8 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.3448, allocations: 318.3 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.345, allocations: 89.05 kB / 1.059 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.3452, allocations: 99.53 kB / 1.059 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.3454, allocations: 139.2 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.3455, allocations: 4 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.346, allocations: 307.5 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.3462, allocations: 103.5 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.3465, allocations: 214.5 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008179/0.3473, allocations: 0.6197 MB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3473, allocations: 0 / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.165e-06/0.3473, allocations: 0 / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.3473, allocations: 7.938 kB / 1.06 GB, free: 0.9062 MB / 0.8106 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.001491/0.3488, allocations: 0.8684 MB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3489, allocations: 12.03 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.349, allocations: 64.19 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.3495, allocations: 388.2 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3495, allocations: 8.375 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3495, allocations: 20.19 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.3498, allocations: 127 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3498, allocations: 8 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3499, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3499, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.3501, allocations: 99.94 kB / 1.062 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.351, allocations: 0.547 MB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3512, allocations: 106.5 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3513, allocations: 69 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/0.3514, allocations: 4.188 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.3517, allocations: 133 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/0.3517, allocations: 0 / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0005507/0.3523, allocations: 314.4 kB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3523, allocations: 81.09 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3534, allocations: 0.7973 MB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3534, allocations: 33.7 kB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.3537, allocations: 284.3 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.3537, allocations: 31.55 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.3538, allocations: 29.7 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.354, allocations: 310 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.3541, allocations: 43.97 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.3542, allocations: 47.98 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.3544, allocations: 156.2 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3544, allocations: 4 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003968/0.3548, allocations: 270.5 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.3549, allocations: 41.69 kB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3549, allocations: 0 / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3549, allocations: 0 / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.355, allocations: 11.94 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.355, allocations: 0 / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3552, allocations: 11.84 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.3552, allocations: 7.984 kB / 1.065 GB, free: 11.75 MB / 0.8262 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.0003803/0.3556, allocations: 337.1 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.3557, allocations: 71.09 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.3561, allocations: 297.1 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3561, allocations: 3.938 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3561, allocations: 3.938 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3562, allocations: 0 / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.3566, allocations: 381.4 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3566, allocations: 3.938 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.3566, allocations: 8 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3566, allocations: 7.984 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.3567, allocations: 4 kB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3567, allocations: 0 / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3567, allocations: 0 / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.3571, allocations: 309.9 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.3572, allocations: 152.2 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.3573, allocations: 0 / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3574, allocations: 7.984 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.3575, allocations: 12 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3575, allocations: 7.938 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007489/0.3583, allocations: 0.5848 MB / 1.067 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3583, allocations: 0 / 1.067 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004705/0.3587, allocations: 124 kB / 1.067 GB, free: 9.348 MB / 0.8262 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.0004942/0.3592, allocations: 189.7 kB / 1.067 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.3596, allocations: 207.3 kB / 1.067 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3596, allocations: 4 kB / 1.067 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.3598, allocations: 143.3 kB / 1.067 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.3604, allocations: 128 kB / 1.068 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3622, allocations: 1.237 MB / 1.069 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.3629, allocations: 0.9745 MB / 1.07 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.3629, allocations: 19.44 kB / 1.07 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of SimCode: time 4.8e-07/0.3629, allocations: 4 kB / 1.07 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of Templates: time 0.01166/0.3746, allocations: 6.724 MB / 1.076 GB, free: 15.7 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/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