Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_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_10_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.001653/0.001653, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00183/0.00183, allocations: 191 kB / 16.25 MB, free: 6.633 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.578/1.578, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.803/2.803, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 59.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7367, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004476/0.7412, allocations: 2.218 MB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004027/0.7453, allocations: 2.597 MB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.7455, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.7474, allocations: 0.5465 MB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.7478, allocations: 107.6 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.7486, allocations: 215.2 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005959/0.7492, allocations: 410.1 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.7494, allocations: 69.06 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.7496, allocations: 131.3 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.7498, allocations: 147.2 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.7499, allocations: 12 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.75, allocations: 63.95 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.7502, allocations: 135.4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.7505, allocations: 230.4 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008012/0.7513, allocations: 0.7007 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.7513, allocations: 7.984 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7513, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.7513, allocations: 0 / 1.024 GB, free: 11.14 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.001653/0.753, allocations: 0.9105 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.7531, allocations: 8.031 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.7532, allocations: 76 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.7539, allocations: 440.2 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.754, allocations: 12.38 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.754, allocations: 8.125 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.7543, allocations: 100.2 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7543, allocations: 0 / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.7544, allocations: 0 / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7544, allocations: 4 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.7545, allocations: 39.97 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.7555, allocations: 0.5316 MB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.7559, allocations: 102.6 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.756, allocations: 36.83 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.7561, allocations: 0 / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.7563, allocations: 95.39 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.7564, allocations: 0 / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005071/0.7569, allocations: 188.8 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.757, allocations: 102.8 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.7583, allocations: 0.9188 MB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.7584, allocations: 33.64 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.7588, allocations: 319.9 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.7588, allocations: 23.8 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.7589, allocations: 21.72 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.7591, allocations: 313.9 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.7592, allocations: 31.92 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.7593, allocations: 72.27 kB / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.7595, allocations: 81.98 kB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7595, allocations: 4 kB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003113/0.7598, allocations: 164.8 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.7598, allocations: 4 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7598, allocations: 0 / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.7599, allocations: 3.984 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.76, allocations: 12 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.76, allocations: 4 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.7601, allocations: 19.8 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.7601, allocations: 4 kB / 1.029 GB, free: 6.227 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 ($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.0003914/0.7605, allocations: 324.9 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.7607, allocations: 67.16 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.7608, allocations: 78.41 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7608, allocations: 0 / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7608, allocations: 0 / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.7608, allocations: 3.938 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.7613, allocations: 397.4 kB / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.7613, allocations: 0 / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.7614, allocations: 11.98 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7614, allocations: 0 / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.7614, allocations: 4 kB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7614, allocations: 0 / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7614, allocations: 0 / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.7618, allocations: 200.1 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.762, allocations: 140.2 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.762, allocations: 0 / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.7622, allocations: 12 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.7622, allocations: 11.92 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.7623, allocations: 7.938 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008981/0.7632, allocations: 0.6826 MB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7632, allocations: 0 / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003154/0.7635, allocations: 63.94 kB / 1.031 GB, free: 4.156 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 (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.001621/0.7651, allocations: 410.3 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.7654, allocations: 87.88 kB / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7655, allocations: 0 / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.7656, allocations: 35.98 kB / 1.031 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.7663, allocations: 171.4 kB / 1.031 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.7683, allocations: 1.269 MB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.769, allocations: 0.9941 MB / 1.034 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.7692, allocations: 47.27 kB / 1.034 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.7693, allocations: 23.44 kB / 1.034 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.7693, allocations: 0 / 1.034 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.01417/0.7835, allocations: 6.033 MB / 1.039 GB, free: 11.33 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches