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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.34 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.483/2.483, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003828, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.9062, allocations: 142.4 MB / 0.9557 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1823/1.089, allocations: 157.2 MB / 1.109 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003333/1.092, allocations: 1.695 MB / 1.111 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/1.092, allocations: 11.94 kB / 1.111 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006185/1.093, allocations: 127.2 kB / 1.111 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/1.095, allocations: 498 kB / 1.111 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/1.096, allocations: 367.5 kB / 1.112 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001147/1.097, allocations: 0.7604 MB / 1.113 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/1.097, allocations: 160.3 kB / 1.113 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007896/1.098, allocations: 294.8 kB / 1.113 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/1.099, allocations: 155.3 kB / 1.113 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/1.099, allocations: 8 kB / 1.113 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/1.1, allocations: 0.7755 MB / 1.114 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/1.1, allocations: 67.8 kB / 1.114 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/1.1, allocations: 141 kB / 1.114 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006708/1.101, allocations: 347.2 kB / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.101, allocations: 0 / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.974e-06/1.101, allocations: 3.938 kB / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.161e-05/1.101, allocations: 0 / 1.114 GB, free: 12.25 MB / 0.8731 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.0009683/1.102, allocations: 0.5373 MB / 1.115 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.102, allocations: 8.031 kB / 1.115 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/1.103, allocations: 63.58 kB / 1.115 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/1.103, allocations: 293.2 kB / 1.115 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.103, allocations: 8 kB / 1.115 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/1.103, allocations: 16 kB / 1.115 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/1.103, allocations: 196.7 kB / 1.116 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.104, allocations: 0 / 1.116 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/1.104, allocations: 12 kB / 1.116 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.104, allocations: 0 / 1.116 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/1.104, allocations: 139.8 kB / 1.116 GB, free: 10.88 MB / 0.8731 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.001189/1.105, allocations: 0.7964 MB / 1.116 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/1.105, allocations: 86.53 kB / 1.117 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/1.106, allocations: 84.8 kB / 1.117 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003282/1.106, allocations: 194.2 kB / 1.117 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/1.106, allocations: 30.56 kB / 1.117 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/1.106, allocations: 3.938 kB / 1.117 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.000734/1.107, allocations: 233.2 kB / 1.117 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/1.107, allocations: 59.34 kB / 1.117 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/1.107, allocations: 267 kB / 1.117 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/1.107, allocations: 25.7 kB / 1.117 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/1.107, allocations: 151.9 kB / 1.118 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/1.107, allocations: 35.53 kB / 1.118 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/1.107, allocations: 17.72 kB / 1.118 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.107, allocations: 330.8 kB / 1.118 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/1.108, allocations: 47.97 kB / 1.118 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/1.108, allocations: 97.11 kB / 1.118 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/1.108, allocations: 135.3 kB / 1.118 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.108, allocations: 0.5625 kB / 1.118 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003778/1.108, allocations: 165.3 kB / 1.118 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.109, allocations: 119.5 kB / 1.118 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.109, allocations: 0 / 1.118 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.109, allocations: 4 kB / 1.118 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/1.109, allocations: 28.05 kB / 1.118 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.109, allocations: 11.94 kB / 1.119 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/1.109, allocations: 27.84 kB / 1.119 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/1.109, allocations: 4 kB / 1.119 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.109, allocations: 5.562 kB / 1.119 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003138/1.109, allocations: 124 kB / 1.119 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/1.109, allocations: 4 kB / 1.119 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.399e-06/1.109, allocations: 0 / 1.119 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.109, allocations: 23.98 kB / 1.119 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/1.109, allocations: 0 / 1.119 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/1.11, allocations: 35.81 kB / 1.119 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/1.11, allocations: 8 kB / 1.119 GB, free: 7.547 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/1.11, allocations: 213 kB / 1.119 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/1.11, allocations: 23.72 kB / 1.119 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/1.11, allocations: 175.3 kB / 1.119 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.11, allocations: 3.938 kB / 1.119 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.11, allocations: 3.938 kB / 1.119 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.11, allocations: 0 / 1.119 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009497/1.111, allocations: 0.6053 MB / 1.12 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.111, allocations: 0 / 1.12 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/1.111, allocations: 28.2 kB / 1.12 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/1.112, allocations: 4 kB / 1.12 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.112, allocations: 4 kB / 1.12 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.112, allocations: 3.938 kB / 1.12 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.112, allocations: 4 kB / 1.12 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/1.112, allocations: 313.1 kB / 1.12 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/1.112, allocations: 104.9 kB / 1.12 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/1.112, allocations: 4 kB / 1.12 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/1.112, allocations: 23.89 kB / 1.12 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/1.112, allocations: 15.86 kB / 1.12 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/1.112, allocations: 4 kB / 1.12 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002212/1.113, allocations: 202.1 kB / 1.12 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.113, allocations: 0 / 1.12 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004973/1.113, allocations: 99.78 kB / 1.12 GB, free: 5.582 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004315/1.114, allocations: 164.2 kB / 1.121 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005091/1.114, allocations: 179.8 kB / 1.121 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.114, allocations: 4 kB / 1.121 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/1.114, allocations: 68.41 kB / 1.121 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/1.115, allocations: 127.6 kB / 1.121 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/1.116, allocations: 0.5361 MB / 1.122 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/1.116, allocations: 0.756 MB / 1.122 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/1.117, allocations: 23.42 kB / 1.122 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/1.117, allocations: 0 / 1.122 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of Templates: time 0.00689/1.123, allocations: 3.721 MB / 1.126 GB, free: 15.97 MB / 0.8887 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches