Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001825/0.001825, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001933/0.001933, allocations: 195.2 kB / 16.14 MB, free: 6.629 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.545/1.545, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.84/2.84, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 71.81 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7419/0.7438, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003891/0.7478, allocations: 2.114 MB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003697/0.7515, allocations: 2.617 MB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.7516, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.7529, allocations: 0.5115 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.7531, allocations: 67.66 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.7538, allocations: 208.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.7542, allocations: 311.5 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.7544, allocations: 97.03 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.7545, allocations: 103.5 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.7547, allocations: 139.2 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.7548, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.7553, allocations: 311.5 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.7555, allocations: 103.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.7557, allocations: 206.5 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008742/0.7566, allocations: 0.7982 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7566, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.31e-07/0.7566, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.7566, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 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.001195/0.7578, allocations: 0.8721 MB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.7578, allocations: 8.031 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.758, allocations: 64.19 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.7584, allocations: 392.2 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.7584, allocations: 8.375 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.7585, allocations: 8.375 kB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.7587, allocations: 129.9 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.7588, allocations: 0 / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.7588, allocations: 7.938 kB / 1.025 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.7588, allocations: 8 kB / 1.025 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.759, allocations: 99.94 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008681/0.7599, allocations: 0.547 MB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.7601, allocations: 106.5 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.707e-05/0.7602, allocations: 64.94 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.7602, allocations: 8.188 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.7605, allocations: 136.9 kB / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.7606, allocations: 0 / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005298/0.7611, allocations: 302.5 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.7612, allocations: 89.09 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009927/0.7622, allocations: 0.7896 MB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.7622, allocations: 25.7 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.7625, allocations: 292.3 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.7625, allocations: 23.62 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.7626, allocations: 33.7 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7628, allocations: 306 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.7628, allocations: 47.97 kB / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.7629, allocations: 47.92 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.7631, allocations: 156.2 kB / 1.028 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7631, allocations: 0 / 1.028 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003356/0.7635, allocations: 274.5 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.7635, allocations: 33.69 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7636, allocations: 0 / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7636, allocations: 4 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.7637, allocations: 4 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7637, allocations: 4 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.7638, allocations: 11.84 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.7638, allocations: 11.98 kB / 1.029 GB, free: 6.074 MB / 0.7794 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.00036/0.7642, allocations: 335.4 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.7643, allocations: 79.08 kB / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.7648, allocations: 293.4 kB / 1.029 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7648, allocations: 0 / 1.029 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7648, allocations: 4 kB / 1.029 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7648, allocations: 0 / 1.029 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.7652, allocations: 377.5 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7652, allocations: 7.875 kB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.7653, allocations: 7.984 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.7653, allocations: 4.125 kB / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.7653, allocations: 4 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7653, allocations: 4.156 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7653, allocations: 4 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.7657, allocations: 317.7 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.7659, allocations: 148.1 kB / 1.03 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.766, allocations: 8 kB / 1.03 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.7661, allocations: 7.984 kB / 1.03 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.7661, allocations: 7.984 kB / 1.03 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.7662, allocations: 4 kB / 1.03 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007244/0.7669, allocations: 0.5887 MB / 1.031 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7669, allocations: 0 / 1.031 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004625/0.7674, allocations: 124 kB / 1.031 GB, free: 3.66 MB / 0.7794 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.0004044/0.7678, allocations: 191.7 kB / 1.031 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.7681, allocations: 207.3 kB / 1.031 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7681, allocations: 0 / 1.031 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.7683, allocations: 147.4 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.7689, allocations: 122.8 kB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.7707, allocations: 1.2 MB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/0.7715, allocations: 0.9706 MB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.7717, allocations: 29.89 kB / 1.034 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.7717, allocations: 19.44 kB / 1.034 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.7717, allocations: 0 / 1.034 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of Templates: time 0.01255/0.7843, allocations: 5.33 MB / 1.039 GB, free: 11.47 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches