Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.545/1.545, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 183.4 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009318/0.0009317, allocations: 96.11 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.864e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2354, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7394/0.9749, allocations: 139.9 MB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.9752, allocations: 99.98 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03076/1.006, allocations: 12.53 MB / 1.034 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.343e-06/1.006, allocations: 0 / 1.034 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.522e-05/1.006, allocations: 8 kB / 1.034 GB, free: 3.539 MB / 0.6511 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.0008411/1.007, allocations: 0.7129 MB / 1.035 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.007, allocations: 12.03 kB / 1.035 GB, free: 2.793 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/1.007, allocations: 67.16 kB / 1.035 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/1.008, allocations: 469.9 kB / 1.035 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/1.008, allocations: 7.984 kB / 1.035 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/1.008, allocations: 4 kB / 1.035 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001006/1.008, allocations: 34.48 kB / 1.035 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/1.008, allocations: 95.86 kB / 1.036 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.008, allocations: 0 / 1.036 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/1.008, allocations: 4 kB / 1.036 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.008, allocations: 4 kB / 1.036 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/1.009, allocations: 0.5024 MB / 1.036 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/1.009, allocations: 94.56 kB / 1.036 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/1.009, allocations: 30.73 kB / 1.036 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/1.009, allocations: 4 kB / 1.036 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/1.009, allocations: 88.42 kB / 1.036 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/1.009, allocations: 3.938 kB / 1.036 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000279/1.01, allocations: 150.2 kB / 1.036 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/1.01, allocations: 102.8 kB / 1.036 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/1.011, allocations: 0.7512 MB / 1.037 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/1.011, allocations: 29.33 kB / 1.037 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/1.011, allocations: 301.9 kB / 1.038 GB, free: 464 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/1.011, allocations: 19.73 kB / 1.038 GB, free: 444 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/1.011, allocations: 3.938 kB / 1.038 GB, free: 440 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.011, allocations: 320.9 kB / 1.038 GB, free: 116 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/1.011, allocations: 20.44 kB / 1.038 GB, free: 104 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.097e-05/1.011, allocations: 78.39 kB / 1.038 GB, free: 24 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/1.011, allocations: 30.86 kB / 1.038 GB, free: 4 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.011, allocations: 4 kB / 1.038 GB, free: 0 / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00022/1.011, allocations: 159.2 kB / 1.038 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.012, allocations: 8 kB / 1.038 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.012, allocations: 0 / 1.038 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/1.012, allocations: 0 / 1.038 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/1.012, allocations: 15.98 kB / 1.038 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/1.012, allocations: 0 / 1.038 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/1.012, allocations: 15.52 kB / 1.038 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/1.012, allocations: 4 kB / 1.038 GB, free: 15.81 MB / 0.6667 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 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.093e-05/1.012, allocations: 110.2 kB / 1.038 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/1.012, allocations: 71.09 kB / 1.038 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/1.012, allocations: 172.1 kB / 1.038 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.012, allocations: 0 / 1.038 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.012, allocations: 4 kB / 1.038 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.012, allocations: 4 kB / 1.039 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/1.013, allocations: 369.5 kB / 1.039 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.013, allocations: 4 kB / 1.039 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/1.013, allocations: 11.98 kB / 1.039 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.013, allocations: 48 / 1.039 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/1.013, allocations: 3.984 kB / 1.039 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.013, allocations: 0 / 1.039 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.013, allocations: 0 / 1.039 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/1.013, allocations: 200.5 kB / 1.039 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.013, allocations: 146.8 kB / 1.039 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/1.013, allocations: 4 kB / 1.039 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/1.013, allocations: 4.188 kB / 1.039 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/1.013, allocations: 11.3 kB / 1.039 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/1.013, allocations: 11.92 kB / 1.039 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006252/1.014, allocations: 0.6089 MB / 1.04 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/1.014, allocations: 0 / 1.04 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003184/1.014, allocations: 75.56 kB / 1.04 GB, free: 14.23 MB / 0.6667 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,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/1.015, allocations: 0.5143 MB / 1.04 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001791/1.016, allocations: 82.39 kB / 1.04 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.016, allocations: 4 kB / 1.04 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/1.016, allocations: 38.42 kB / 1.041 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/1.016, allocations: 144.3 kB / 1.041 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.018, allocations: 0.8498 MB / 1.041 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/1.018, allocations: 0.9942 MB / 1.042 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001334/1.018, allocations: 46.36 kB / 1.043 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/1.018, allocations: 27.42 kB / 1.043 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of SimCode: time 4.2e-07/1.018, allocations: 0 / 1.043 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of Templates: time 0.01058/1.029, allocations: 5.729 MB / 1.048 GB, free: 6.133 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches