Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001167/0.001167, allocations: 176.8 kB / 487.4 MB, free: 5.043 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.666/1.666, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 87.86 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.639e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.322, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.598/4.92, allocations: 1.867 GB / 3.073 GB, free: 14.04 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/4.92, allocations: 83.95 kB / 3.073 GB, free: 13.96 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.082/6.002, allocations: 219.4 MB / 3.287 GB, free: 260.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.895e-06/6.002, allocations: 4 kB / 3.287 GB, free: 260.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.402e-05/6.002, allocations: 8 kB / 3.288 GB, free: 260.7 MB / 1.151 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.001062/6.003, allocations: 0.5568 MB / 3.288 GB, free: 260.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/6.004, allocations: 16.56 kB / 3.288 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/6.004, allocations: 55.59 kB / 3.288 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/6.005, allocations: 301.5 kB / 3.288 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/6.005, allocations: 7.938 kB / 3.288 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/6.005, allocations: 11.95 kB / 3.288 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001812/6.005, allocations: 87.97 kB / 3.289 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/6.005, allocations: 157 kB / 3.289 GB, free: 259.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/6.005, allocations: 0 / 3.289 GB, free: 259.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/6.005, allocations: 0 / 3.289 GB, free: 259.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/6.005, allocations: 7.938 kB / 3.289 GB, free: 259.4 MB / 1.151 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.0009368/6.006, allocations: 0.7309 MB / 3.289 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/6.006, allocations: 66.5 kB / 3.289 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/6.006, allocations: 64.84 kB / 3.29 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/6.007, allocations: 186.2 kB / 3.29 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/6.007, allocations: 34.56 kB / 3.29 GB, free: 258.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/6.007, allocations: 0 / 3.29 GB, free: 258.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004378/6.007, allocations: 133.6 kB / 3.29 GB, free: 258 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/6.007, allocations: 55.41 kB / 3.29 GB, free: 258 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/6.007, allocations: 188.5 kB / 3.29 GB, free: 257.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/6.007, allocations: 25.7 kB / 3.29 GB, free: 257.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/6.007, allocations: 152.2 kB / 3.29 GB, free: 257.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/6.007, allocations: 27.56 kB / 3.29 GB, free: 257.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/6.007, allocations: 0 / 3.29 GB, free: 257.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/6.007, allocations: 334.8 kB / 3.291 GB, free: 257.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/6.007, allocations: 20 kB / 3.291 GB, free: 257.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/6.008, allocations: 86.84 kB / 3.291 GB, free: 257.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/6.008, allocations: 43.89 kB / 3.291 GB, free: 257.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/6.008, allocations: 0 / 3.291 GB, free: 257.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001753/6.008, allocations: 125.2 kB / 3.291 GB, free: 256.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.934e-05/6.008, allocations: 366.2 kB / 3.291 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/6.008, allocations: 0 / 3.291 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/6.008, allocations: 4 kB / 3.291 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/6.008, allocations: 27.98 kB / 3.291 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/6.008, allocations: 4.234 kB / 3.291 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/6.008, allocations: 23.91 kB / 3.291 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/6.008, allocations: 8 kB / 3.291 GB, free: 256.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/6.008, allocations: 11.88 kB / 3.291 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001361/6.008, allocations: 71.89 kB / 3.291 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-06/6.008, allocations: 0 / 3.291 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-06/6.008, allocations: 4 kB / 3.291 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/6.009, allocations: 23.98 kB / 3.291 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-06/6.009, allocations: 0 / 3.291 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/6.009, allocations: 15.98 kB / 3.291 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/6.009, allocations: 12.02 kB / 3.291 GB, free: 256.4 MB / 1.151 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.216e-05/6.009, allocations: 112.9 kB / 3.292 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/6.009, allocations: 23.67 kB / 3.292 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/6.009, allocations: 119.5 kB / 3.292 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/6.009, allocations: 0 / 3.292 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/6.009, allocations: 3.938 kB / 3.292 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/6.009, allocations: 0 / 3.292 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/6.01, allocations: 0.5124 MB / 3.292 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/6.01, allocations: 4 kB / 3.292 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/6.01, allocations: 28.47 kB / 3.292 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/6.01, allocations: 4 kB / 3.292 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/6.01, allocations: 4 kB / 3.292 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/6.01, allocations: 0 / 3.292 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/6.01, allocations: 4 kB / 3.292 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/6.01, allocations: 349.1 kB / 3.293 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/6.01, allocations: 112.8 kB / 3.293 GB, free: 254.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/6.01, allocations: 4 kB / 3.293 GB, free: 254.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/6.01, allocations: 11.98 kB / 3.293 GB, free: 254.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/6.01, allocations: 19.88 kB / 3.293 GB, free: 254.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/6.01, allocations: 8 kB / 3.293 GB, free: 254.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.821e-05/6.011, allocations: 156.4 kB / 3.293 GB, free: 254.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/6.011, allocations: 0 / 3.293 GB, free: 254.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006274/6.011, allocations: 155.7 kB / 3.293 GB, free: 254.6 MB / 1.151 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.001269/6.012, allocations: 1.021 MB / 3.294 GB, free: 253.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002137/6.013, allocations: 121.2 kB / 3.294 GB, free: 253.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/6.013, allocations: 4 kB / 3.294 GB, free: 253.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/6.013, allocations: 47.86 kB / 3.294 GB, free: 253.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/6.013, allocations: 96.95 kB / 3.294 GB, free: 253.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/6.014, allocations: 284.4 kB / 3.294 GB, free: 253 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/6.014, allocations: 0.7606 MB / 3.295 GB, free: 252.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002301/6.014, allocations: 81.97 kB / 3.295 GB, free: 252.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/6.014, allocations: 19.44 kB / 3.295 GB, free: 252.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.51e-07/6.014, allocations: 0 / 3.295 GB, free: 252.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01345/6.028, allocations: 8.68 MB / 3.304 GB, free: 243.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches