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.006688/0.006688, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001364/0.001364, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.7 MB / 0.7453 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.91 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.099, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.00398/1.103, allocations: 2.145 MB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003464/1.106, allocations: 2.655 MB / 1.23 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/1.107, allocations: 4 kB / 1.23 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/1.108, allocations: 0.536 MB / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/1.108, allocations: 123.3 kB / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000722/1.109, allocations: 234.2 kB / 1.231 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004967/1.11, allocations: 374.2 kB / 1.232 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/1.11, allocations: 73.06 kB / 1.232 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/1.11, allocations: 127.4 kB / 1.232 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/1.11, allocations: 143.2 kB / 1.232 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/1.11, allocations: 8 kB / 1.232 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/1.11, allocations: 75.89 kB / 1.232 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/1.111, allocations: 135.5 kB / 1.232 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/1.111, allocations: 226.4 kB / 1.232 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007896/1.112, allocations: 0.7129 MB / 1.233 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.112, allocations: 0 / 1.233 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/1.112, allocations: 3.938 kB / 1.233 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.157e-05/1.112, allocations: 0 / 1.233 GB, free: 5.934 MB / 0.9512 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.001265/1.113, allocations: 0.9363 MB / 1.234 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.113, allocations: 12.03 kB / 1.234 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/1.113, allocations: 76.47 kB / 1.234 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/1.114, allocations: 464.8 kB / 1.234 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/1.114, allocations: 8.375 kB / 1.234 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/1.114, allocations: 8.062 kB / 1.234 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/1.114, allocations: 104.2 kB / 1.235 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/1.114, allocations: 0 / 1.235 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.114, allocations: 0 / 1.235 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.114, allocations: 4 kB / 1.235 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/1.114, allocations: 47.91 kB / 1.235 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/1.115, allocations: 0.5161 MB / 1.235 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/1.115, allocations: 106.7 kB / 1.235 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/1.115, allocations: 32.84 kB / 1.235 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/1.115, allocations: 7.938 kB / 1.235 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/1.115, allocations: 87.33 kB / 1.235 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/1.115, allocations: 0 / 1.235 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004211/1.116, allocations: 197.2 kB / 1.236 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/1.116, allocations: 106.8 kB / 1.236 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.117, allocations: 0.9227 MB / 1.237 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/1.117, allocations: 25.7 kB / 1.237 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/1.117, allocations: 316.1 kB / 1.237 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/1.117, allocations: 19.86 kB / 1.237 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/1.117, allocations: 29.7 kB / 1.237 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.117, allocations: 309.9 kB / 1.237 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/1.118, allocations: 27.98 kB / 1.237 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/1.118, allocations: 76.27 kB / 1.237 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/1.118, allocations: 73.62 kB / 1.237 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.118, allocations: 0 / 1.237 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002611/1.118, allocations: 165.2 kB / 1.238 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.118, allocations: 8 kB / 1.238 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.118, allocations: 0 / 1.238 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.118, allocations: 0 / 1.238 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/1.118, allocations: 23.92 kB / 1.238 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.118, allocations: 4.422 kB / 1.238 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.118, allocations: 15.88 kB / 1.238 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/1.118, allocations: 4 kB / 1.238 GB, free: 0.9727 MB / 0.9512 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.0003173/1.119, allocations: 320.6 kB / 1.238 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/1.119, allocations: 71.53 kB / 1.238 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/1.119, allocations: 82.59 kB / 1.238 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.119, allocations: 0 / 1.238 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.119, allocations: 3.938 kB / 1.238 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.119, allocations: 3.938 kB / 1.238 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/1.119, allocations: 393.4 kB / 1.238 GB, free: 52 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.119, allocations: 0 / 1.238 GB, free: 52 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/1.119, allocations: 12 kB / 1.238 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/1.119, allocations: 7.922 kB / 1.238 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.119, allocations: 0 / 1.238 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.119, allocations: 7.938 kB / 1.238 GB, free: 24 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.119, allocations: 3.984 kB / 1.238 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/1.12, allocations: 196.6 kB / 1.239 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.12, allocations: 144.6 kB / 1.239 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/1.12, allocations: 0 / 1.239 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/1.12, allocations: 7.984 kB / 1.239 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/1.12, allocations: 16.02 kB / 1.239 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/1.12, allocations: 7.938 kB / 1.239 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007552/1.121, allocations: 0.6746 MB / 1.239 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.121, allocations: 0 / 1.239 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002849/1.121, allocations: 63.94 kB / 1.24 GB, free: 14.88 MB / 0.9669 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.001021/1.122, allocations: 429 kB / 1.24 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002197/1.122, allocations: 67.91 kB / 1.24 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.123, allocations: 0 / 1.24 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/1.123, allocations: 43.91 kB / 1.24 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/1.123, allocations: 178.6 kB / 1.24 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/1.125, allocations: 1.164 MB / 1.241 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/1.125, allocations: 0.9863 MB / 1.242 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001484/1.126, allocations: 51.2 kB / 1.242 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/1.126, allocations: 31.42 kB / 1.242 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/1.126, allocations: 0 / 1.242 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of Templates: time 0.01239/1.138, allocations: 6.071 MB / 1.248 GB, free: 6.094 MB / 0.9669 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