Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 249.5 MB / 257 MB, free: 6.883 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.001073/0.001073, allocations: 180.9 kB / 316.3 MB, free: 3.219 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.704/1.704, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001004/0.001004, allocations: 99.28 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.443e-05/1.446e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2449, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.781/6.026, allocations: 2.181 GB / 3.066 GB, free: 228 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/6.026, allocations: 85.67 kB / 3.066 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3725/6.399, allocations: 210.5 MB / 3.271 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/6.399, allocations: 0 / 3.271 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.685e-05/6.399, allocations: 7.984 kB / 3.271 GB, free: 12.71 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008335/6.4, allocations: 0.5562 MB / 3.272 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/6.4, allocations: 12.03 kB / 3.272 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/6.4, allocations: 55.64 kB / 3.272 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/6.401, allocations: 309.4 kB / 3.272 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/6.401, allocations: 4 kB / 3.272 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/6.401, allocations: 12 kB / 3.272 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000154/6.401, allocations: 79.98 kB / 3.272 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/6.401, allocations: 160.6 kB / 3.273 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/6.401, allocations: 4 kB / 3.273 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/6.401, allocations: 0 / 3.273 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/6.401, allocations: 7.953 kB / 3.273 GB, free: 11.42 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008445/6.402, allocations: 0.731 MB / 3.273 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/6.402, allocations: 62.5 kB / 3.273 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/6.402, allocations: 56.89 kB / 3.273 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/6.402, allocations: 194.2 kB / 3.274 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/6.402, allocations: 30.56 kB / 3.274 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/6.402, allocations: 0 / 3.274 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003977/6.403, allocations: 137.5 kB / 3.274 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/6.403, allocations: 59.41 kB / 3.274 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/6.403, allocations: 188.6 kB / 3.274 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/6.403, allocations: 33.64 kB / 3.274 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/6.403, allocations: 148.1 kB / 3.274 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/6.403, allocations: 35.48 kB / 3.274 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/6.403, allocations: 0 / 3.274 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.534e-05/6.403, allocations: 330.8 kB / 3.275 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/6.403, allocations: 24 kB / 3.275 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/6.403, allocations: 94.81 kB / 3.275 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.999e-05/6.403, allocations: 31.98 kB / 3.275 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/6.403, allocations: 0 / 3.275 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001466/6.404, allocations: 117.4 kB / 3.275 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-05/6.404, allocations: 368.1 kB / 3.275 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/6.404, allocations: 0 / 3.275 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/6.404, allocations: 4 kB / 3.275 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/6.404, allocations: 31.92 kB / 3.275 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/6.404, allocations: 0 / 3.275 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/6.404, allocations: 27.88 kB / 3.275 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/6.404, allocations: 4 kB / 3.275 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.423e-06/6.404, allocations: 4 kB / 3.275 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001056/6.404, allocations: 75.89 kB / 3.275 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-06/6.404, allocations: 0 / 3.275 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/6.404, allocations: 0 / 3.275 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/6.404, allocations: 31.94 kB / 3.275 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/6.404, allocations: 4 kB / 3.275 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/6.405, allocations: 11.98 kB / 3.275 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/6.405, allocations: 16.02 kB / 3.275 GB, free: 8.387 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.436e-05/6.405, allocations: 108.9 kB / 3.275 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/6.405, allocations: 23.72 kB / 3.275 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/6.405, allocations: 119.4 kB / 3.276 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/6.405, allocations: 0 / 3.276 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/6.405, allocations: 3.953 kB / 3.276 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/6.405, allocations: 0 / 3.276 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/6.405, allocations: 0.5166 MB / 3.276 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/6.405, allocations: 3.953 kB / 3.276 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/6.406, allocations: 23.98 kB / 3.276 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/6.406, allocations: 12.16 kB / 3.276 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/6.406, allocations: 0 / 3.276 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/6.406, allocations: 7.938 kB / 3.276 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/6.406, allocations: 4 kB / 3.276 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/6.406, allocations: 345.1 kB / 3.276 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/6.406, allocations: 108.9 kB / 3.277 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/6.406, allocations: 0 / 3.277 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/6.406, allocations: 15.98 kB / 3.277 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/6.406, allocations: 11.98 kB / 3.277 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/6.406, allocations: 12 kB / 3.277 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.861e-05/6.406, allocations: 148.5 kB / 3.277 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.406, allocations: 4 kB / 3.277 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005635/6.407, allocations: 159.6 kB / 3.277 GB, free: 6.609 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001217/6.408, allocations: 1.019 MB / 3.278 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002138/6.408, allocations: 121.1 kB / 3.278 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/6.408, allocations: 4.125 kB / 3.278 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/6.408, allocations: 39.92 kB / 3.278 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/6.409, allocations: 108.1 kB / 3.278 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/6.409, allocations: 296.6 kB / 3.278 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/6.41, allocations: 0.7638 MB / 3.279 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002272/6.41, allocations: 70.64 kB / 3.279 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/6.41, allocations: 23.44 kB / 3.279 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/6.41, allocations: 0 / 3.279 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of Templates: time 0.524/6.934, allocations: 8.637 MB / 3.288 GB, free: 251.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches