Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001345/0.001345, allocations: 189 kB / 498.1 MB, free: 5.684 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.581/1.581, allocations: 223.2 MB / 0.7948 GB, free: 18.71 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.001106/0.001106, allocations: 98.5 kB / 0.9346 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 9.094 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3175, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2122/0.5297, allocations: 161.3 MB / 1.38 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005498/0.5304, allocations: 91.95 kB / 1.38 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03465/0.5651, allocations: 11.33 MB / 1.392 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5651, allocations: 7.938 kB / 1.392 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.818e-05/0.5651, allocations: 4 kB / 1.392 GB, free: 12.61 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001512/0.5667, allocations: 0.6774 MB / 1.392 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5667, allocations: 8.031 kB / 1.392 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009173/0.5676, allocations: 139.5 kB / 1.392 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.5692, allocations: 0.6664 MB / 1.393 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.5692, allocations: 7.938 kB / 1.393 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.5692, allocations: 12 kB / 1.393 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.5697, allocations: 182.4 kB / 1.393 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5697, allocations: 7.938 kB / 1.393 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.5697, allocations: 3.953 kB / 1.393 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5697, allocations: 3.984 kB / 1.393 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005244/0.5703, allocations: 171.9 kB / 1.393 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.5713, allocations: 0.5238 MB / 1.394 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.5717, allocations: 170.5 kB / 1.394 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.5718, allocations: 4 kB / 1.394 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.5718, allocations: 34.56 kB / 1.394 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.5718, allocations: 0 / 1.394 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.0009177/0.5728, allocations: 301.1 kB / 1.394 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.5728, allocations: 55.39 kB / 1.394 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.5731, allocations: 287.7 kB / 1.395 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.5732, allocations: 33.7 kB / 1.395 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5733, allocations: 156.2 kB / 1.395 GB, free: 9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.5733, allocations: 31.55 kB / 1.395 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.5734, allocations: 0 / 1.395 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5735, allocations: 342.8 kB / 1.395 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.5738, allocations: 95.92 kB / 1.395 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.5741, allocations: 158.1 kB / 1.395 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.5744, allocations: 99.92 kB / 1.396 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5744, allocations: 0 / 1.396 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007146/0.5752, allocations: 313.2 kB / 1.396 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.5755, allocations: 0.6952 MB / 1.397 GB, free: 7.188 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5755, allocations: 7.984 kB / 1.397 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5755, allocations: 4 kB / 1.397 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.5758, allocations: 51.95 kB / 1.397 GB, free: 7.125 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5758, allocations: 7.938 kB / 1.397 GB, free: 7.117 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.5761, allocations: 47.67 kB / 1.397 GB, free: 7.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.5761, allocations: 15.98 kB / 1.397 GB, free: 7.055 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.954e-06/0.5761, allocations: 4 kB / 1.397 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006455/0.5768, allocations: 255.6 kB / 1.397 GB, free: 6.801 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.5768, allocations: 4.219 kB / 1.397 GB, free: 6.797 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-06/0.5768, allocations: 7.938 kB / 1.397 GB, free: 6.789 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.5771, allocations: 51.95 kB / 1.397 GB, free: 6.738 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5771, allocations: 7.938 kB / 1.397 GB, free: 6.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.5773, allocations: 35.83 kB / 1.397 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.5773, allocations: 15.98 kB / 1.397 GB, free: 6.68 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * 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.0001874/0.5775, allocations: 232.8 kB / 1.397 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.5776, allocations: 23.7 kB / 1.397 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007182/0.5783, allocations: 256.1 kB / 1.398 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5783, allocations: 0 / 1.398 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5783, allocations: 0 / 1.398 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5783, allocations: 0 / 1.398 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.5786, allocations: 277.3 kB / 1.398 GB, free: 5.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5787, allocations: 3.984 kB / 1.398 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.5789, allocations: 43.91 kB / 1.398 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.5789, allocations: 4 kB / 1.398 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.5789, allocations: 4 kB / 1.398 GB, free: 5.785 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5789, allocations: 0 / 1.398 GB, free: 5.785 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5789, allocations: 0 / 1.398 GB, free: 5.785 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.5795, allocations: 327 kB / 1.398 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.5797, allocations: 116.7 kB / 1.398 GB, free: 5.316 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.5797, allocations: 3.938 kB / 1.398 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.5799, allocations: 23.98 kB / 1.398 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.5799, allocations: 12.17 kB / 1.398 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.58, allocations: 4 kB / 1.398 GB, free: 5.273 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002345/0.5802, allocations: 239 kB / 1.399 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5802, allocations: 0 / 1.399 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007883/0.581, allocations: 171.9 kB / 1.399 GB, free: 4.875 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006804/0.5817, allocations: 399.9 kB / 1.399 GB, free: 4.48 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009474/0.5827, allocations: 348 kB / 1.399 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5827, allocations: 4 kB / 1.399 GB, free: 4.137 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.5829, allocations: 92.31 kB / 1.4 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.5834, allocations: 91.05 kB / 1.4 GB, free: 3.957 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.5842, allocations: 0.5378 MB / 1.4 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.5845, allocations: 0.7797 MB / 1.401 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003567/0.5849, allocations: 86.86 kB / 1.401 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.585, allocations: 31.42 kB / 1.401 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/0.585, allocations: 0 / 1.401 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of Templates: time 0.5608/1.146, allocations: 7.851 MB / 1.409 GB, free: 170.1 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches