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.001568/0.001573, allocations: 105.2 kB / 16.36 MB, free: 5.824 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.001631/0.001631, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.568/1.568, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.582/2.582, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 58.72 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4424, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.006629/0.4491, allocations: 2.158 MB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005843/0.455, allocations: 2.663 MB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.4553, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.4579, allocations: 0.5405 MB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005578/0.4585, allocations: 119.4 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.4596, allocations: 246.5 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006864/0.4603, allocations: 369 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.4606, allocations: 73.06 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.4608, allocations: 127.4 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.4612, allocations: 147.2 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.4612, allocations: 8 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.4615, allocations: 67.95 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.4618, allocations: 135.4 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.4621, allocations: 234.4 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.4633, allocations: 0.7084 MB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4633, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4633, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.4633, allocations: 0 / 1.034 GB, free: 10.45 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.0019/0.4652, allocations: 0.9079 MB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.4653, allocations: 12.02 kB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.4655, allocations: 72.03 kB / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009233/0.4664, allocations: 456 kB / 1.036 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.4665, allocations: 4.375 kB / 1.036 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.4665, allocations: 12.12 kB / 1.036 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.4668, allocations: 100.1 kB / 1.036 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4669, allocations: 0 / 1.036 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.4669, allocations: 4 kB / 1.036 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4669, allocations: 7.938 kB / 1.036 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.4671, allocations: 35.97 kB / 1.036 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.4683, allocations: 0.524 MB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.469, allocations: 98.64 kB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4692, allocations: 36.84 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.4692, allocations: 0 / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.4695, allocations: 95.34 kB / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 6.362e-06/0.4695, allocations: 96 / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007095/0.4702, allocations: 192.7 kB / 1.037 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.4704, allocations: 102.8 kB / 1.037 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.4722, allocations: 0.9226 MB / 1.038 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.4722, allocations: 33.7 kB / 1.038 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.4727, allocations: 308.1 kB / 1.038 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.4727, allocations: 27.73 kB / 1.038 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.4728, allocations: 21.72 kB / 1.038 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.473, allocations: 317.9 kB / 1.038 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4731, allocations: 27.98 kB / 1.038 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.4733, allocations: 76.2 kB / 1.038 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.4736, allocations: 69.7 kB / 1.038 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4736, allocations: 0 / 1.038 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004486/0.474, allocations: 168.8 kB / 1.039 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4741, allocations: 8 kB / 1.039 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4741, allocations: 0 / 1.039 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.4741, allocations: 3.984 kB / 1.039 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4743, allocations: 12 kB / 1.039 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.4743, allocations: 0 / 1.039 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.4745, allocations: 23.86 kB / 1.039 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.4746, allocations: 4 kB / 1.039 GB, free: 5.531 MB / 0.8106 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.0005395/0.4751, allocations: 322.5 kB / 1.039 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.4752, allocations: 67.16 kB / 1.039 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.4754, allocations: 86.38 kB / 1.039 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4754, allocations: 0 / 1.039 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4755, allocations: 3.938 kB / 1.039 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4755, allocations: 3.938 kB / 1.039 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.4761, allocations: 397.4 kB / 1.039 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4761, allocations: 0 / 1.039 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.4762, allocations: 11.98 kB / 1.039 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4762, allocations: 0 / 1.039 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.4763, allocations: 8 kB / 1.039 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4763, allocations: 0 / 1.039 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4763, allocations: 0 / 1.039 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.4768, allocations: 196.2 kB / 1.04 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.477, allocations: 152 kB / 1.04 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.599e-05/0.4771, allocations: 0 / 1.04 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.4774, allocations: 8 kB / 1.04 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.4775, allocations: 11.98 kB / 1.04 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.4775, allocations: 7.938 kB / 1.04 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001395/0.4789, allocations: 0.6785 MB / 1.041 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4789, allocations: 0 / 1.041 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004913/0.4794, allocations: 56 kB / 1.041 GB, free: 3.457 MB / 0.8106 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.001668/0.4811, allocations: 417.3 kB / 1.041 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003735/0.4815, allocations: 79.89 kB / 1.041 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4815, allocations: 0 / 1.041 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.4817, allocations: 35.97 kB / 1.041 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.4828, allocations: 166.2 kB / 1.041 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.4856, allocations: 1.133 MB / 1.042 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009501/0.4866, allocations: 0.9901 MB / 1.043 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.4869, allocations: 50.95 kB / 1.043 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.487, allocations: 31.44 kB / 1.043 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of SimCode: time 8.72e-07/0.487, allocations: 0 / 1.043 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of Templates: time 0.01852/0.5055, allocations: 6.055 MB / 1.049 GB, free: 10.72 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 -s cvode -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/jenkins1/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