Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 387.1 MB / 399.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 172.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009015/0.0009016, allocations: 103 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.949e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.391, allocations: 157.6 MB / 1.366 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.391, allocations: 99.62 kB / 1.366 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02899/1.42, allocations: 12.98 MB / 1.379 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.783e-06/1.42, allocations: 0 / 1.379 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.777e-05/1.42, allocations: 15.72 kB / 1.379 GB, free: 33.42 MB / 0.8386 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.001109/1.421, allocations: 0.7044 MB / 1.38 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/1.421, allocations: 7.688 kB / 1.38 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/1.422, allocations: 62.44 kB / 1.38 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.423, allocations: 466.6 kB / 1.38 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/1.423, allocations: 3.844 kB / 1.38 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/1.423, allocations: 11.08 kB / 1.38 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/1.423, allocations: 94.59 kB / 1.38 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.423, allocations: 0 / 1.38 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/1.423, allocations: 7.875 kB / 1.38 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.423, allocations: 0 / 1.38 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/1.423, allocations: 42.84 kB / 1.38 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/1.424, allocations: 0.5383 MB / 1.381 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/1.425, allocations: 97.14 kB / 1.381 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/1.425, allocations: 40.69 kB / 1.381 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/1.425, allocations: 0 / 1.381 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/1.425, allocations: 78.83 kB / 1.381 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/1.425, allocations: 4 kB / 1.381 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004149/1.425, allocations: 173.7 kB / 1.381 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.426, allocations: 102.8 kB / 1.381 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.427, allocations: 0.7858 MB / 1.382 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/1.427, allocations: 25.7 kB / 1.382 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/1.427, allocations: 299.6 kB / 1.383 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/1.427, allocations: 26.88 kB / 1.383 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/1.427, allocations: 3.875 kB / 1.383 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.427, allocations: 306 kB / 1.383 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.873e-05/1.427, allocations: 32.89 kB / 1.383 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.132e-05/1.427, allocations: 85.02 kB / 1.383 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/1.427, allocations: 25.52 kB / 1.383 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.428, allocations: 0 / 1.383 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003057/1.428, allocations: 163.2 kB / 1.383 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.428, allocations: 7.906 kB / 1.383 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.428, allocations: 0 / 1.383 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/1.428, allocations: 3.969 kB / 1.383 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/1.428, allocations: 15.48 kB / 1.383 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/1.428, allocations: 3.953 kB / 1.383 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/1.428, allocations: 11.72 kB / 1.383 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/1.428, allocations: 7.156 kB / 1.383 GB, free: 30.88 MB / 0.8386 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 0.0001026/1.428, allocations: 116.7 kB / 1.383 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/1.428, allocations: 62 kB / 1.383 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/1.429, allocations: 188.1 kB / 1.384 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.429, allocations: 0 / 1.384 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.429, allocations: 0 / 1.384 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.429, allocations: 3.953 kB / 1.384 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/1.429, allocations: 396.5 kB / 1.384 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.429, allocations: 0 / 1.384 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/1.429, allocations: 15.73 kB / 1.384 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.429, allocations: 0 / 1.384 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/1.429, allocations: 3.875 kB / 1.384 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.429, allocations: 240 / 1.384 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.429, allocations: 4 kB / 1.384 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/1.43, allocations: 200.9 kB / 1.384 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/1.43, allocations: 146.8 kB / 1.384 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/1.43, allocations: 7.094 kB / 1.384 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.43, allocations: 3.844 kB / 1.384 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/1.43, allocations: 11.58 kB / 1.384 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/1.43, allocations: 3.984 kB / 1.384 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007797/1.431, allocations: 0.6494 MB / 1.385 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.431, allocations: 0 / 1.385 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004126/1.431, allocations: 76.12 kB / 1.385 GB, free: 29.95 MB / 0.8386 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.001341/1.433, allocations: 0.5513 MB / 1.386 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002237/1.433, allocations: 87.67 kB / 1.386 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.433, allocations: 0 / 1.386 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/1.433, allocations: 36.91 kB / 1.386 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/1.434, allocations: 146.8 kB / 1.386 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/1.435, allocations: 0.8525 MB / 1.387 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/1.436, allocations: 0.9958 MB / 1.388 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000211/1.436, allocations: 45.38 kB / 1.388 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/1.436, allocations: 30.33 kB / 1.388 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/1.436, allocations: 0 / 1.388 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of Templates: time 0.01349/1.449, allocations: 7.126 MB / 1.395 GB, free: 24.89 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches