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.382/1.382, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 185.7 kB / 326.5 MB, free: 2.23 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.526/1.526, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0008406/0.0008405, allocations: 105.4 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004035, allocations: 13.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1898, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.3557, allocations: 139.7 MB / 1.037 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.356, allocations: 95.94 kB / 1.037 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03045/0.3865, allocations: 12.71 MB / 1.049 GB, free: 7.168 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3865, allocations: 0 / 1.049 GB, free: 7.168 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.985e-05/0.3866, allocations: 8 kB / 1.049 GB, free: 7.16 MB / 0.698 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.001393/0.388, allocations: 0.8719 MB / 1.05 GB, free: 6.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.388, allocations: 8.031 kB / 1.05 GB, free: 6.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.3882, allocations: 63.25 kB / 1.05 GB, free: 6.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.389, allocations: 471.5 kB / 1.05 GB, free: 5.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3891, allocations: 4 kB / 1.05 GB, free: 5.656 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3891, allocations: 11.94 kB / 1.05 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.3894, allocations: 96.22 kB / 1.05 GB, free: 5.535 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3894, allocations: 0 / 1.05 GB, free: 5.535 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3894, allocations: 4 kB / 1.05 GB, free: 5.531 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3894, allocations: 0 / 1.05 GB, free: 5.531 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3895, allocations: 47.91 kB / 1.051 GB, free: 5.484 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.3904, allocations: 0.5317 MB / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.3908, allocations: 114.7 kB / 1.051 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.3908, allocations: 0 / 1.051 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.391, allocations: 87.47 kB / 1.051 GB, free: 4.684 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.391, allocations: 8 kB / 1.051 GB, free: 4.676 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004206/0.3914, allocations: 196.8 kB / 1.051 GB, free: 4.477 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.3915, allocations: 110.7 kB / 1.052 GB, free: 4.344 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009506/0.3924, allocations: 0.785 MB / 1.052 GB, free: 3.555 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3925, allocations: 33.69 kB / 1.052 GB, free: 3.516 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.3927, allocations: 304 kB / 1.053 GB, free: 3.215 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.3928, allocations: 23.66 kB / 1.053 GB, free: 3.191 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.3928, allocations: 0 / 1.053 GB, free: 3.191 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.3929, allocations: 310 kB / 1.053 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.393, allocations: 35.97 kB / 1.053 GB, free: 2.848 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3931, allocations: 80.2 kB / 1.053 GB, free: 2.754 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.3932, allocations: 31.98 kB / 1.053 GB, free: 2.723 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3932, allocations: 0 / 1.053 GB, free: 2.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002611/0.3935, allocations: 168.8 kB / 1.053 GB, free: 2.551 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3935, allocations: 8 kB / 1.053 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3935, allocations: 0 / 1.053 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3935, allocations: 0 / 1.053 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.3936, allocations: 15.98 kB / 1.053 GB, free: 2.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3936, allocations: 3.938 kB / 1.053 GB, free: 2.523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3938, allocations: 19.84 kB / 1.053 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3938, allocations: 4 kB / 1.053 GB, free: 2.5 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.3941, allocations: 311.7 kB / 1.054 GB, free: 2.188 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.3942, allocations: 67.28 kB / 1.054 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.3945, allocations: 187.5 kB / 1.054 GB, free: 1.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3945, allocations: 0 / 1.054 GB, free: 1.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3946, allocations: 4 kB / 1.054 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3946, allocations: 0 / 1.054 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.3949, allocations: 393.4 kB / 1.054 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3949, allocations: 4 kB / 1.054 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.395, allocations: 11.92 kB / 1.054 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.395, allocations: 4 kB / 1.054 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.395, allocations: 4 kB / 1.054 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.395, allocations: 4 kB / 1.054 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3951, allocations: 3.938 kB / 1.054 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3953, allocations: 204.2 kB / 1.054 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.3955, allocations: 136.3 kB / 1.055 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.3956, allocations: 8 kB / 1.055 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3957, allocations: 7.984 kB / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.3958, allocations: 15.98 kB / 1.055 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.3958, allocations: 4 kB / 1.055 GB, free: 1.055 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007102/0.3965, allocations: 0.6473 MB / 1.055 GB, free: 420 kB / 0.698 GB Notification: Performance of sort global known variables: time 2.154e-06/0.3965, allocations: 0 / 1.055 GB, free: 420 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003689/0.3969, allocations: 87.86 kB / 1.055 GB, free: 332 kB / 0.698 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) * Number of clocked states: 0 () * 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.3338/0.7307, allocations: 0.5708 MB / 1.056 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.7311, allocations: 88.94 kB / 1.056 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7311, allocations: 1.062 kB / 1.056 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.674e-05/0.7312, allocations: 46.84 kB / 1.056 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.732, allocations: 135.7 kB / 1.056 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.7334, allocations: 1.182 MB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.7338, allocations: 0.9979 MB / 1.058 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.734, allocations: 46.2 kB / 1.058 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.734, allocations: 29.19 kB / 1.058 GB, free: 145.6 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/0.734, allocations: 0 / 1.058 GB, free: 145.6 MB / 0.698 GB Notification: Performance of Templates: time 0.01269/0.7467, allocations: 6.858 MB / 1.065 GB, free: 145.3 MB / 0.698 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