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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001706/0.001706, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002005, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.6 MB / 0.7452 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 72.2 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3541, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003966/0.3581, allocations: 2.148 MB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.3616, allocations: 2.647 MB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.3618, allocations: 4 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.3633, allocations: 0.5408 MB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.3636, allocations: 127.4 kB / 1.074 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.3643, allocations: 234.8 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.3648, allocations: 374.2 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.365, allocations: 73.05 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.3652, allocations: 131.4 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.3654, allocations: 147.2 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.3654, allocations: 12 kB / 1.075 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3656, allocations: 55.97 kB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.3658, allocations: 131.5 kB / 1.075 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.366, allocations: 230.4 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007511/0.3668, allocations: 0.7045 MB / 1.076 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3668, allocations: 0 / 1.076 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3668, allocations: 0 / 1.076 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.3668, allocations: 0 / 1.076 GB, free: 2.828 MB / 0.8262 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.001295/0.3681, allocations: 0.9028 MB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3682, allocations: 12.03 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3683, allocations: 68.09 kB / 1.077 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.3688, allocations: 463.9 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3688, allocations: 4.359 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.3689, allocations: 8.125 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.3691, allocations: 100.2 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3691, allocations: 0 / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3691, allocations: 7.938 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3691, allocations: 0 / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.3693, allocations: 43.97 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007232/0.37, allocations: 0.5201 MB / 1.078 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.3704, allocations: 98.69 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/0.3705, allocations: 36.83 kB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3705, allocations: 4 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.3707, allocations: 79.38 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.895e-06/0.3707, allocations: 0 / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004297/0.3712, allocations: 216.8 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/0.3713, allocations: 102.8 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3723, allocations: 0.9188 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3724, allocations: 33.64 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.3727, allocations: 316 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3727, allocations: 19.75 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.3727, allocations: 25.7 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3729, allocations: 313.9 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.373, allocations: 27.98 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3731, allocations: 76.27 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.3733, allocations: 73.64 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3733, allocations: 0 / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002521/0.3735, allocations: 172.7 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3736, allocations: 4 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3736, allocations: 4 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3736, allocations: 4.031 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.3737, allocations: 12 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3737, allocations: 0 / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3738, allocations: 11.92 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3738, allocations: 4 kB / 1.08 GB, free: 13.91 MB / 0.8419 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.0003179/0.3741, allocations: 321.8 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.3742, allocations: 67.16 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.3744, allocations: 74.42 kB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3744, allocations: 4 kB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3744, allocations: 7.984 kB / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3744, allocations: 3.938 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.3748, allocations: 397.3 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3748, allocations: 3.938 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.3748, allocations: 8 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3748, allocations: 0 / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3748, allocations: 0 / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3749, allocations: 0 / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/0.3749, allocations: 7.938 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3752, allocations: 200.2 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3753, allocations: 136.2 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.3754, allocations: 8 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3755, allocations: 4 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.3755, allocations: 7.984 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3756, allocations: 11.92 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007831/0.3763, allocations: 0.6748 MB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.365e-06/0.3764, allocations: 0 / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002941/0.3767, allocations: 75.86 kB / 1.082 GB, free: 11.84 MB / 0.8419 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.001023/0.3777, allocations: 415.1 kB / 1.082 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3779, allocations: 71.95 kB / 1.083 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3779, allocations: 3.938 kB / 1.083 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.378, allocations: 35.98 kB / 1.083 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.3787, allocations: 176.1 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3804, allocations: 1.159 MB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.381, allocations: 0.9824 MB / 1.085 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000157/0.3812, allocations: 50.89 kB / 1.085 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.3813, allocations: 31.42 kB / 1.085 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3813, allocations: 0 / 1.085 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of Templates: time 0.01219/0.3935, allocations: 6.057 MB / 1.091 GB, free: 3.082 MB / 0.8419 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