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.412/1.412, allocations: 249.3 MB / 261.8 MB, free: 5.855 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.001067/0.001067, allocations: 180.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009622/0.0009619, allocations: 93.16 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.554e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.231, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.068/6.299, allocations: 2.18 GB / 3.072 GB, free: 149 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/6.299, allocations: 87.36 kB / 3.072 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8637/7.163, allocations: 213.3 MB / 3.28 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.924e-06/7.163, allocations: 7.312 kB / 3.28 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.338e-05/7.163, allocations: 10.5 kB / 3.28 GB, free: 256.6 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.0007908/7.164, allocations: 0.5562 MB / 3.281 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/7.164, allocations: 9.656 kB / 3.281 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/7.164, allocations: 50.72 kB / 3.281 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/7.165, allocations: 314.4 kB / 3.281 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/7.165, allocations: 8.688 kB / 3.281 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/7.165, allocations: 17.12 kB / 3.281 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/7.165, allocations: 173.2 kB / 3.282 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/7.165, allocations: 0 / 3.282 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/7.165, allocations: 4 kB / 3.282 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/7.165, allocations: 10.83 kB / 3.282 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/7.165, allocations: 92.22 kB / 3.282 GB, free: 255.8 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.000934/7.166, allocations: 0.7884 MB / 3.282 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/7.166, allocations: 66.52 kB / 3.283 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/7.166, allocations: 58.36 kB / 3.283 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/7.167, allocations: 189.9 kB / 3.283 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/7.167, allocations: 34.38 kB / 3.283 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/7.167, allocations: 0 / 3.283 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003765/7.167, allocations: 140.7 kB / 3.283 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/7.167, allocations: 55.31 kB / 3.283 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/7.167, allocations: 231.4 kB / 3.283 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/7.167, allocations: 33.55 kB / 3.283 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/7.168, allocations: 150 kB / 3.283 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/7.168, allocations: 30.42 kB / 3.283 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/7.168, allocations: 0 / 3.283 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.351e-05/7.168, allocations: 333.3 kB / 3.284 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/7.168, allocations: 30.39 kB / 3.284 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/7.168, allocations: 88.11 kB / 3.284 GB, free: 254 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/7.168, allocations: 45.16 kB / 3.284 GB, free: 254 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/7.168, allocations: 3.938 kB / 3.284 GB, free: 254 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001766/7.168, allocations: 133 kB / 3.284 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-05/7.168, allocations: 363 kB / 3.284 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/7.168, allocations: 0 / 3.284 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/7.168, allocations: 3.375 kB / 3.284 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/7.168, allocations: 25.12 kB / 3.284 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/7.168, allocations: 3.375 kB / 3.284 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/7.168, allocations: 35.12 kB / 3.284 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/7.169, allocations: 3.312 kB / 3.284 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/7.169, allocations: 3.312 kB / 3.284 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001267/7.169, allocations: 88.41 kB / 3.284 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-06/7.169, allocations: 0 / 3.284 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-06/7.169, allocations: 0 / 3.284 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/7.169, allocations: 27.02 kB / 3.285 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/7.169, allocations: 7.812 kB / 3.285 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/7.169, allocations: 22.59 kB / 3.285 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/7.169, allocations: 11.45 kB / 3.285 GB, free: 253.5 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.381e-05/7.169, allocations: 110.3 kB / 3.285 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/7.169, allocations: 19.41 kB / 3.285 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/7.169, allocations: 141 kB / 3.285 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/7.169, allocations: 0 / 3.285 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/7.169, allocations: 3.75 kB / 3.285 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/7.169, allocations: 3.047 kB / 3.285 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/7.17, allocations: 0.5613 MB / 3.285 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/7.17, allocations: 0 / 3.285 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/7.17, allocations: 27.78 kB / 3.285 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/7.17, allocations: 3.938 kB / 3.285 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/7.17, allocations: 11.47 kB / 3.285 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/7.17, allocations: 0 / 3.285 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/7.17, allocations: 6.594 kB / 3.285 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/7.17, allocations: 347.6 kB / 3.286 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/7.171, allocations: 113.4 kB / 3.286 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/7.171, allocations: 3.719 kB / 3.286 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/7.171, allocations: 31.28 kB / 3.286 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/7.171, allocations: 11.14 kB / 3.286 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/7.171, allocations: 8.625 kB / 3.286 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001438/7.171, allocations: 194.7 kB / 3.286 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/7.171, allocations: 0 / 3.286 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007589/7.172, allocations: 182 kB / 3.286 GB, free: 252.2 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.001397/7.173, allocations: 0.8984 MB / 3.287 GB, free: 252 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002844/7.173, allocations: 126.2 kB / 3.287 GB, free: 252 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/7.173, allocations: 0 / 3.287 GB, free: 252 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/7.174, allocations: 52.84 kB / 3.287 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/7.174, allocations: 127.5 kB / 3.287 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/7.175, allocations: 301.2 kB / 3.288 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/7.175, allocations: 0.7601 MB / 3.288 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002957/7.176, allocations: 88.78 kB / 3.289 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/7.176, allocations: 17.97 kB / 3.289 GB, free: 251 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/7.176, allocations: 0 / 3.289 GB, free: 251 MB / 0.8698 GB Notification: Performance of Templates: time 0.02348/7.199, allocations: 17.77 MB / 3.306 GB, free: 247.3 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