Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001635/0.001635, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 11.94 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8633/0.8637, allocations: 142.3 MB / 0.9535 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002147/0.8659, allocations: 1.327 MB / 0.9548 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.8678, allocations: 1.362 MB / 0.9561 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.8679, allocations: 1 kB / 0.9561 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.8685, allocations: 52.72 kB / 0.9562 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.8687, allocations: 47.94 kB / 0.9562 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.869, allocations: 90.3 kB / 0.9563 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.8692, allocations: 96.72 kB / 0.9564 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.159e-05/0.8693, allocations: 12.83 kB / 0.9564 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.8694, allocations: 58.45 kB / 0.9565 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.8696, allocations: 47.23 kB / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.8696, allocations: 4.531 kB / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.8698, allocations: 49.73 kB / 0.9566 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.8698, allocations: 41.8 kB / 0.9566 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.8699, allocations: 40.98 kB / 0.9567 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.8702, allocations: 133.9 kB / 0.9568 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8702, allocations: 4 kB / 0.9568 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8702, allocations: 1.344 kB / 0.9568 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.8702, allocations: 0 / 0.9568 GB, free: 5.523 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006407/0.8708, allocations: 451.3 kB / 0.9572 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.8709, allocations: 10.19 kB / 0.9572 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.871, allocations: 18.8 kB / 0.9573 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.8714, allocations: 257.5 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.8714, allocations: 2.25 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.8714, allocations: 7.719 kB / 0.9575 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.8717, allocations: 114.7 kB / 0.9576 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8717, allocations: 0 / 0.9576 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.8717, allocations: 1 kB / 0.9576 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.8717, allocations: 1.469 kB / 0.9576 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.872, allocations: 155.1 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.8722, allocations: 223.5 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.8727, allocations: 178.2 kB / 0.9582 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.8727, allocations: 13.47 kB / 0.9582 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.873, allocations: 114.7 kB / 0.9583 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.873, allocations: 0 / 0.9583 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004962/0.8735, allocations: 221.4 kB / 0.9585 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.8736, allocations: 82.48 kB / 0.9586 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.8738, allocations: 203.8 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.8738, allocations: 32.17 kB / 0.9588 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.8739, allocations: 110.6 kB / 0.9589 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.8739, allocations: 39.58 kB / 0.9589 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.8739, allocations: 4 kB / 0.9589 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.874, allocations: 332.6 kB / 0.9593 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.8741, allocations: 43.02 kB / 0.9593 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.8742, allocations: 79.8 kB / 0.9594 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.8743, allocations: 52.89 kB / 0.9594 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8743, allocations: 0 / 0.9594 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003054/0.8746, allocations: 191.5 kB / 0.9596 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.8747, allocations: 5.406 kB / 0.9596 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8747, allocations: 5.031 kB / 0.9596 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8747, allocations: 0.9062 kB / 0.9596 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.8748, allocations: 30.03 kB / 0.9596 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8748, allocations: 4 kB / 0.9597 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.8749, allocations: 12.97 kB / 0.9597 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.8749, allocations: 15.56 kB / 0.9597 GB, free: 3.094 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001019/0.875, allocations: 134.8 kB / 0.9598 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.8751, allocations: 20.5 kB / 0.9598 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.8751, allocations: 26.73 kB / 0.9599 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.8751, allocations: 1.844 kB / 0.9599 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8752, allocations: 0 / 0.9599 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8752, allocations: 4 kB / 0.9599 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.8753, allocations: 242.6 kB / 0.9601 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8754, allocations: 5 kB / 0.9601 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.8754, allocations: 19.45 kB / 0.9601 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8754, allocations: 1.031 kB / 0.9601 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.8755, allocations: 1.969 kB / 0.9601 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.8755, allocations: 1.031 kB / 0.9601 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.8755, allocations: 0.9688 kB / 0.9601 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.8758, allocations: 219.5 kB / 0.9603 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.8759, allocations: 98.34 kB / 0.9604 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.8759, allocations: 6.75 kB / 0.9604 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.8759, allocations: 2.75 kB / 0.9604 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.876, allocations: 13.48 kB / 0.9604 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.876, allocations: 5.5 kB / 0.9604 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001113/0.8761, allocations: 157.1 kB / 0.9606 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8761, allocations: 0 / 0.9606 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002483/0.8764, allocations: 34.12 kB / 0.9606 GB, free: 2.289 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001142/0.8775, allocations: 457.5 kB / 0.9611 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.8779, allocations: 124 kB / 0.9612 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8779, allocations: 4 kB / 0.9612 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.878, allocations: 67.06 kB / 0.9613 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.8783, allocations: 33 kB / 0.9613 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.8789, allocations: 320.5 kB / 0.9616 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.8791, allocations: 0.7233 MB / 0.9623 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.8792, allocations: 56.53 kB / 0.9623 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.8793, allocations: 33.61 kB / 0.9624 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8793, allocations: 0 / 0.9624 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of Templates: time 0.005945/0.8852, allocations: 2.311 MB / 0.9646 GB, free: 15.82 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches