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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001492/0.001497, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001888/0.001888, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.466/1.466, 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 11.0.1-master/package.mo): time 2.862/2.862, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.03 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3272, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004445/0.3317, allocations: 2.215 MB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003806/0.3355, allocations: 2.62 MB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.3358, allocations: 0 / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.3373, allocations: 0.5293 MB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.3377, allocations: 111.5 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.3385, allocations: 205.8 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.339, allocations: 362.2 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.3392, allocations: 65.08 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.3394, allocations: 123.3 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.3396, allocations: 147.2 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.3397, allocations: 4 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.3399, allocations: 59.95 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.3401, allocations: 135.4 kB / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.3403, allocations: 230.4 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.341, allocations: 0.6811 MB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.341, allocations: 0 / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.341, allocations: 0 / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.341, allocations: 4 kB / 1.059 GB, free: 1.301 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001712/0.3427, allocations: 0.9067 MB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3428, allocations: 12.03 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.3429, allocations: 72 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.3434, allocations: 448.1 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3435, allocations: 4.375 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3435, allocations: 8.125 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3437, allocations: 104.2 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3437, allocations: 3.984 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3438, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3438, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3439, allocations: 43.97 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.3447, allocations: 0.5277 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.3451, allocations: 110.6 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.945e-05/0.3452, allocations: 32.84 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3452, allocations: 0 / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.3454, allocations: 83.41 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3454, allocations: 8 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004211/0.3459, allocations: 192.8 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.3459, allocations: 102.8 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.347, allocations: 0.9149 MB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.347, allocations: 25.7 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.3473, allocations: 327.9 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.3473, allocations: 19.73 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.3474, allocations: 29.7 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3475, allocations: 313.9 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.3475, allocations: 31.92 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3477, allocations: 72.27 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3478, allocations: 66.02 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3478, allocations: 0 / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002888/0.3481, allocations: 180.7 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3482, allocations: 5.25 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3482, allocations: 4 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3482, allocations: 0 / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3483, allocations: 12 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3483, allocations: 3.984 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.3485, allocations: 11.84 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3486, allocations: 4 kB / 1.064 GB, free: 12.39 MB / 0.8262 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 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004175/0.349, allocations: 327.2 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.3491, allocations: 67.16 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.3492, allocations: 78.41 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3492, allocations: 4 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3492, allocations: 0 / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3492, allocations: 7.938 kB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.3496, allocations: 389.4 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3496, allocations: 0 / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.3496, allocations: 8 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3496, allocations: 0 / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3497, allocations: 4 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3497, allocations: 192 / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3497, allocations: 7.984 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.35, allocations: 200.1 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3501, allocations: 140.2 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.3501, allocations: 4 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3503, allocations: 11.98 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.3503, allocations: 4 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3504, allocations: 11.92 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000775/0.3511, allocations: 0.6785 MB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3511, allocations: 0 / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002992/0.3515, allocations: 67.89 kB / 1.066 GB, free: 10.31 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: 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 (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.0009924/0.3525, allocations: 426.2 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.3527, allocations: 71.89 kB / 1.066 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3527, allocations: 4.062 kB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/0.3528, allocations: 39.98 kB / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.3535, allocations: 153.2 kB / 1.067 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3553, allocations: 1.263 MB / 1.068 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.3559, allocations: 0.9905 MB / 1.069 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000183/0.3561, allocations: 47.27 kB / 1.069 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.3562, allocations: 27.42 kB / 1.069 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of SimCode: time 8.82e-07/0.3562, allocations: 4 kB / 1.069 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of Templates: time 0.01248/0.3687, allocations: 5.833 MB / 1.074 GB, free: 1.672 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches