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.419/1.419, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 180 kB / 326.5 MB, free: 2.223 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.819/1.819, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008701/0.0008703, allocations: 74.45 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 9.594 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1915, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.623/4.815, allocations: 2.18 GB / 3.08 GB, free: 248.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/4.815, allocations: 85.11 kB / 3.081 GB, free: 248.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4177/5.233, allocations: 213.5 MB / 3.289 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.914e-06/5.233, allocations: 0 / 3.289 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.036e-05/5.233, allocations: 4 kB / 3.289 GB, free: 130.4 MB / 0.8855 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.001194/5.234, allocations: 0.5958 MB / 3.29 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/5.234, allocations: 8.031 kB / 3.29 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/5.235, allocations: 71.52 kB / 3.29 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/5.235, allocations: 305.5 kB / 3.29 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/5.235, allocations: 8 kB / 3.29 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/5.235, allocations: 16 kB / 3.29 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/5.236, allocations: 188.2 kB / 3.29 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/5.236, allocations: 7.938 kB / 3.29 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/5.236, allocations: 4 kB / 3.29 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/5.236, allocations: 4 kB / 3.29 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/5.236, allocations: 132.5 kB / 3.29 GB, free: 129 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001011/5.237, allocations: 0.785 MB / 3.291 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/5.237, allocations: 86.53 kB / 3.291 GB, free: 128 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/5.238, allocations: 190.3 kB / 3.291 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/5.238, allocations: 34.69 kB / 3.291 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/5.238, allocations: 0 / 3.291 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0006415/5.238, allocations: 221.2 kB / 3.292 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/5.238, allocations: 59.34 kB / 3.292 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/5.239, allocations: 234.2 kB / 3.292 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/5.239, allocations: 33.7 kB / 3.292 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/5.239, allocations: 147.9 kB / 3.292 GB, free: 127 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/5.239, allocations: 31.92 kB / 3.292 GB, free: 127 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/5.239, allocations: 8 kB / 3.292 GB, free: 127 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/5.239, allocations: 330.8 kB / 3.292 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/5.239, allocations: 43.97 kB / 3.292 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/5.239, allocations: 106.8 kB / 3.293 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/5.239, allocations: 59.83 kB / 3.293 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/5.239, allocations: 0 / 3.293 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003141/5.24, allocations: 169.3 kB / 3.293 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/5.24, allocations: 360 kB / 3.293 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/5.24, allocations: 0 / 3.293 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/5.24, allocations: 0 / 3.293 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/5.24, allocations: 31.92 kB / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/5.24, allocations: 7.984 kB / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/5.24, allocations: 27.83 kB / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/5.24, allocations: 4 kB / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/5.24, allocations: 4 kB / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002494/5.24, allocations: 115.9 kB / 3.293 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/5.24, allocations: 0 / 3.293 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/5.24, allocations: 7.953 kB / 3.293 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/5.24, allocations: 23.92 kB / 3.293 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/5.24, allocations: 7.984 kB / 3.293 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/5.241, allocations: 27.83 kB / 3.293 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/5.241, allocations: 12 kB / 3.293 GB, free: 125.6 MB / 0.8855 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 () * Number of clocked 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 0.0001333/5.241, allocations: 209.6 kB / 3.294 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/5.241, allocations: 19.81 kB / 3.294 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/5.241, allocations: 175.1 kB / 3.294 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/5.241, allocations: 8 kB / 3.294 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/5.241, allocations: 0 / 3.294 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/5.241, allocations: 0 / 3.294 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/5.242, allocations: 0.5898 MB / 3.294 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/5.242, allocations: 4 kB / 3.294 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/5.242, allocations: 23.98 kB / 3.294 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/5.242, allocations: 8.203 kB / 3.294 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/5.242, allocations: 4 kB / 3.294 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/5.242, allocations: 4.281 kB / 3.294 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/5.242, allocations: 3.938 kB / 3.294 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/5.243, allocations: 389.4 kB / 3.295 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/5.243, allocations: 120.7 kB / 3.295 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/5.243, allocations: 4 kB / 3.295 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/5.243, allocations: 27.98 kB / 3.295 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/5.243, allocations: 15.88 kB / 3.295 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/5.243, allocations: 4 kB / 3.295 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001461/5.243, allocations: 197.9 kB / 3.295 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/5.243, allocations: 0 / 3.295 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008426/5.244, allocations: 171.8 kB / 3.295 GB, free: 123.5 MB / 0.8855 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 () * Number of clocked 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.001462/5.245, allocations: 0.8875 MB / 3.296 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004411/5.246, allocations: 171.8 kB / 3.296 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/5.246, allocations: 0 / 3.296 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/5.246, allocations: 72.97 kB / 3.296 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/5.247, allocations: 138.7 kB / 3.297 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000688/5.248, allocations: 0.4895 MB / 3.297 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/5.248, allocations: 0.7599 MB / 3.298 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000255/5.248, allocations: 66.23 kB / 3.298 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/5.248, allocations: 19.44 kB / 3.298 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of SimCode: time 6.91e-07/5.248, allocations: 0 / 3.298 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.01957/5.268, allocations: 14.86 MB / 3.312 GB, free: 106 MB / 0.8855 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