Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001251/0.001251, allocations: 177.3 kB / 15.95 MB, free: 216 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.552/1.552, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.836/0.8364, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003747/0.8402, allocations: 1.783 MB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003978/0.8442, allocations: 2.257 MB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.8444, allocations: 4 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.846, allocations: 0.5452 MB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.8463, allocations: 115.6 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.8471, allocations: 205.4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.8475, allocations: 295.4 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.8477, allocations: 73.06 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.8479, allocations: 127.4 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.8481, allocations: 135.3 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.8481, allocations: 4 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.8483, allocations: 39.92 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.8485, allocations: 131.5 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.8486, allocations: 125.4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.8493, allocations: 0.563 MB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.8493, allocations: 0 / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8493, allocations: 0 / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.8493, allocations: 0 / 1.027 GB, free: 10.69 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001292/0.8506, allocations: 0.8292 MB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.8507, allocations: 15.98 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.8508, allocations: 75.05 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.8515, allocations: 411.5 kB / 1.028 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.8515, allocations: 8 kB / 1.028 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.8515, allocations: 4 kB / 1.028 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.8518, allocations: 104.1 kB / 1.028 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.8518, allocations: 0 / 1.028 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.8518, allocations: 4 kB / 1.028 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.8519, allocations: 3.984 kB / 1.028 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.852, allocations: 51.84 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/0.853, allocations: 0.5162 MB / 1.029 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.8534, allocations: 102.7 kB / 1.029 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.8534, allocations: 7.938 kB / 1.029 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.8537, allocations: 83.5 kB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.8537, allocations: 0 / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004985/0.8542, allocations: 188.8 kB / 1.029 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.8543, allocations: 106.8 kB / 1.029 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.8555, allocations: 0.9148 MB / 1.03 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.8555, allocations: 33.64 kB / 1.03 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.8559, allocations: 308.1 kB / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.856, allocations: 27.72 kB / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.856, allocations: 0 / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8561, allocations: 318 kB / 1.031 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.8562, allocations: 23.98 kB / 1.031 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.8563, allocations: 76.2 kB / 1.031 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.716e-05/0.8564, allocations: 48.23 kB / 1.031 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8564, allocations: 0 / 1.031 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002678/0.8567, allocations: 168.8 kB / 1.031 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.8568, allocations: 4 kB / 1.031 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8568, allocations: 0 / 1.031 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.8568, allocations: 0 / 1.031 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.8569, allocations: 15.98 kB / 1.031 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8569, allocations: 0 / 1.031 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.857, allocations: 11.91 kB / 1.031 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.8571, allocations: 0 / 1.031 GB, free: 6.012 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003611/0.8574, allocations: 337.6 kB / 1.032 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.8575, allocations: 67.16 kB / 1.032 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.8576, allocations: 78.41 kB / 1.032 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.8576, allocations: 0 / 1.032 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8576, allocations: 0 / 1.032 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.8576, allocations: 0 / 1.032 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.8581, allocations: 397.4 kB / 1.032 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.8581, allocations: 3.953 kB / 1.032 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.8581, allocations: 7.984 kB / 1.032 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.8581, allocations: 4 kB / 1.032 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.8582, allocations: 192 / 1.032 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.8582, allocations: 4 kB / 1.032 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8582, allocations: 3.938 kB / 1.032 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.8585, allocations: 196.2 kB / 1.032 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.8586, allocations: 144.1 kB / 1.033 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.8587, allocations: 4 kB / 1.033 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.8588, allocations: 4 kB / 1.033 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.8589, allocations: 11.98 kB / 1.033 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.8589, allocations: 8 kB / 1.033 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009189/0.8598, allocations: 0.6707 MB / 1.033 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8598, allocations: 0 / 1.033 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003509/0.8602, allocations: 67.92 kB / 1.033 GB, free: 3.938 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001206/0.8614, allocations: 427.2 kB / 1.034 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.8617, allocations: 71.91 kB / 1.034 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8617, allocations: 4.062 kB / 1.034 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.833e-05/0.8618, allocations: 31.98 kB / 1.034 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.8624, allocations: 159.7 kB / 1.034 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.8641, allocations: 1.214 MB / 1.035 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.8648, allocations: 0.9982 MB / 1.036 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.865, allocations: 51.25 kB / 1.036 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.865, allocations: 27.42 kB / 1.036 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of SimCode: time 2.034e-06/0.865, allocations: 0 / 1.036 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of Templates: time 0.01139/0.8764, allocations: 5.633 MB / 1.042 GB, free: 11.54 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches