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.0009921/0.0009923, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001183/0.001183, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3/3, allocations: 462.6 MB / 0.736 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 15.06 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3691, allocations: 159.6 MB / 1.058 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002562/0.3717, allocations: 1.712 MB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.3747, allocations: 2.381 MB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.3748, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.3761, allocations: 498.2 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3762, allocations: 59.66 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.3769, allocations: 213.6 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.3772, allocations: 294.4 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3774, allocations: 85.06 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3775, allocations: 111.4 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3777, allocations: 123.4 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3778, allocations: 0 / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.3782, allocations: 287.6 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.3783, allocations: 99.58 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3784, allocations: 129.3 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007156/0.3791, allocations: 0.608 MB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3791, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3791, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3791, allocations: 0 / 1.064 GB, free: 14.78 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.001107/0.3803, allocations: 0.814 MB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3803, allocations: 12.03 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.652e-05/0.3804, allocations: 63.16 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.3809, allocations: 355.8 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3809, allocations: 7.953 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3809, allocations: 8 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.3812, allocations: 132.9 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3812, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3812, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3812, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.3815, allocations: 100.1 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.3823, allocations: 0.5475 MB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3824, allocations: 102.5 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.3825, allocations: 60.97 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.3826, allocations: 7.984 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.3828, allocations: 137.1 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.3828, allocations: 3.938 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004389/0.3833, allocations: 314.4 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3833, allocations: 81.11 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.3842, allocations: 0.7895 MB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3842, allocations: 29.7 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.3846, allocations: 284.3 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.3846, allocations: 27.66 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.3846, allocations: 7.938 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3847, allocations: 310 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.3848, allocations: 43.98 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.3849, allocations: 47.97 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/0.385, allocations: 82 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.385, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003007/0.3853, allocations: 262.5 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.3853, allocations: 37.69 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3853, allocations: 8 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3854, allocations: 3.953 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.3854, allocations: 4 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3855, allocations: 4 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.3856, allocations: 11.89 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3856, allocations: 11.88 kB / 1.069 GB, free: 9.855 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 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003333/0.3859, allocations: 343.3 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.386, allocations: 63.25 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.3864, allocations: 293 kB / 1.07 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3865, allocations: 4 kB / 1.07 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3865, allocations: 3.953 kB / 1.07 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3865, allocations: 128 / 1.07 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.3868, allocations: 385.3 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3869, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.3869, allocations: 15.92 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3869, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3869, allocations: 8 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3869, allocations: 0 / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3869, allocations: 4 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.3873, allocations: 309.8 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.3875, allocations: 140.3 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.3875, allocations: 4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3876, allocations: 7.984 kB / 1.071 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.3877, allocations: 8 kB / 1.071 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.3877, allocations: 7.984 kB / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000643/0.3883, allocations: 0.5848 MB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3883, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004169/0.3888, allocations: 128 kB / 1.071 GB, free: 7.457 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003458/0.3891, allocations: 183.1 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.3894, allocations: 203.3 kB / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3894, allocations: 0 / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3896, allocations: 143.4 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.3901, allocations: 124.6 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.3919, allocations: 1.163 MB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.3924, allocations: 0.9745 MB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.3925, allocations: 29.94 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.3925, allocations: 15.44 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3925, allocations: 0 / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.01034/0.4029, allocations: 5.198 MB / 1.079 GB, free: 15.44 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