Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008452/0.008452, allocations: 99.91 kB / 15.73 MB, free: 6.016 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.001602/0.001602, allocations: 194.4 kB / 16.67 MB, free: 5.938 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.679/2.679, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.12 kB / 1.065 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9764/0.9776, allocations: 159.1 MB / 1.221 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004028/0.9816, allocations: 2.164 MB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003729/0.9854, allocations: 2.659 MB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.9856, allocations: 4 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.987, allocations: 0.5333 MB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.9874, allocations: 131.3 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.9881, allocations: 227.8 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.9887, allocations: 376.2 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.9888, allocations: 45.08 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.989, allocations: 131.4 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.9893, allocations: 143.2 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.9894, allocations: 12 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.9896, allocations: 63.95 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.9897, allocations: 135.5 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.99, allocations: 242.3 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.9909, allocations: 0.7079 MB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9909, allocations: 0 / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9909, allocations: 0 / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.285e-05/0.9909, allocations: 4 kB / 1.228 GB, free: 10.48 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.001509/0.9924, allocations: 0.9299 MB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.9924, allocations: 16.61 kB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.9926, allocations: 76.41 kB / 1.229 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.9932, allocations: 456.8 kB / 1.229 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.9932, allocations: 4.375 kB / 1.229 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.9932, allocations: 4.125 kB / 1.229 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.9934, allocations: 108.1 kB / 1.23 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9934, allocations: 4 kB / 1.23 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.9934, allocations: 4 kB / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.9935, allocations: 0 / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.9936, allocations: 39.97 kB / 1.23 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.9944, allocations: 0.5278 MB / 1.23 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.9948, allocations: 98.64 kB / 1.23 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.9949, allocations: 40.83 kB / 1.23 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.995, allocations: 0 / 1.23 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.9951, allocations: 91.31 kB / 1.23 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.9951, allocations: 96 / 1.23 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004436/0.9956, allocations: 197.2 kB / 1.231 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.9957, allocations: 102.8 kB / 1.231 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.9967, allocations: 0.9266 MB / 1.232 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.9967, allocations: 25.7 kB / 1.232 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.997, allocations: 316.1 kB / 1.232 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.997, allocations: 23.84 kB / 1.232 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.9971, allocations: 21.72 kB / 1.232 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9972, allocations: 317.8 kB / 1.232 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.9973, allocations: 27.98 kB / 1.232 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.9974, allocations: 84.2 kB / 1.232 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.9975, allocations: 65.7 kB / 1.232 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9975, allocations: 0 / 1.232 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002633/0.9978, allocations: 169.1 kB / 1.233 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.9978, allocations: 8 kB / 1.233 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.9978, allocations: 0 / 1.233 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.9978, allocations: 8.016 kB / 1.233 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.9979, allocations: 12 kB / 1.233 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.9979, allocations: 0 / 1.233 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.9981, allocations: 15.86 kB / 1.233 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.9981, allocations: 4.391 kB / 1.233 GB, free: 5.527 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.0003151/0.9984, allocations: 325.2 kB / 1.233 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.9985, allocations: 71.53 kB / 1.233 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.9986, allocations: 82.34 kB / 1.233 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.9986, allocations: 0 / 1.233 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9986, allocations: 4 kB / 1.233 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9986, allocations: 3.938 kB / 1.233 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.999, allocations: 397.4 kB / 1.233 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.999, allocations: 0 / 1.233 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.9991, allocations: 7.984 kB / 1.233 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9991, allocations: 0 / 1.233 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.9991, allocations: 4 kB / 1.233 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9991, allocations: 0 / 1.233 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9991, allocations: 0 / 1.233 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.9994, allocations: 208.5 kB / 1.234 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.9995, allocations: 148.6 kB / 1.234 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.9995, allocations: 0 / 1.234 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.9997, allocations: 8 kB / 1.234 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.9997, allocations: 7.984 kB / 1.234 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.9997, allocations: 7.938 kB / 1.234 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007809/1.001, allocations: 0.6824 MB / 1.234 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/1.001, allocations: 0 / 1.234 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003703/1.001, allocations: 63.94 kB / 1.235 GB, free: 3.43 MB / 0.9512 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.0009932/1.002, allocations: 423.9 kB / 1.235 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000238/1.002, allocations: 71.89 kB / 1.235 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.002, allocations: 0 / 1.235 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/1.002, allocations: 31.98 kB / 1.235 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/1.003, allocations: 162.2 kB / 1.235 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/1.005, allocations: 1.17 MB / 1.236 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/1.005, allocations: 0.9979 MB / 1.237 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001437/1.005, allocations: 47.27 kB / 1.237 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/1.005, allocations: 31.44 kB / 1.237 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/1.005, allocations: 0 / 1.237 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of Templates: time 0.01329/1.019, allocations: 6.094 MB / 1.243 GB, free: 10.65 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches