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.00149/0.00149, allocations: 102.8 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 195.6 kB / 17.3 MB, free: 5.52 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 68.44 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 140.4 MB / 0.9511 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8977/1.222, allocations: 161.5 MB / 1.109 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003446/1.225, allocations: 1.71 MB / 1.111 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006181/1.226, allocations: 10.91 kB / 1.111 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006817/1.227, allocations: 159.9 kB / 1.111 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/1.229, allocations: 0.509 MB / 1.111 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/1.23, allocations: 425.8 kB / 1.112 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009813/1.231, allocations: 0.5621 MB / 1.112 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/1.231, allocations: 178 kB / 1.112 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007837/1.232, allocations: 325.9 kB / 1.113 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/1.232, allocations: 150.9 kB / 1.113 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/1.232, allocations: 16.81 kB / 1.113 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/1.234, allocations: 0.6944 MB / 1.113 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/1.235, allocations: 78.67 kB / 1.114 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/1.235, allocations: 114.7 kB / 1.114 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/1.237, allocations: 0.4937 MB / 1.114 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.237, allocations: 0 / 1.114 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.066e-06/1.237, allocations: 0 / 1.114 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.13e-05/1.237, allocations: 1.312 kB / 1.114 GB, free: 5.223 MB / 0.8575 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.001522/1.238, allocations: 0.5818 MB / 1.115 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.121e-05/1.238, allocations: 9.641 kB / 1.115 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005815/1.239, allocations: 59.69 kB / 1.115 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/1.24, allocations: 303.6 kB / 1.115 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/1.24, allocations: 12.97 kB / 1.115 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/1.24, allocations: 15.3 kB / 1.115 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/1.24, allocations: 196.6 kB / 1.115 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.24, allocations: 0 / 1.115 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/1.24, allocations: 4.906 kB / 1.115 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/1.24, allocations: 4.484 kB / 1.115 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/1.241, allocations: 138.6 kB / 1.115 GB, free: 20.44 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.001356/1.242, allocations: 0.7787 MB / 1.116 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/1.242, allocations: 82.55 kB / 1.116 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/1.243, allocations: 77.19 kB / 1.116 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/1.243, allocations: 187.8 kB / 1.116 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/1.243, allocations: 35.59 kB / 1.117 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/1.243, allocations: 1.094 kB / 1.117 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0008772/1.244, allocations: 224.6 kB / 1.117 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/1.244, allocations: 53.72 kB / 1.117 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/1.244, allocations: 267.6 kB / 1.117 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/1.244, allocations: 35.42 kB / 1.117 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.245, allocations: 145.8 kB / 1.117 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/1.245, allocations: 30.91 kB / 1.117 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/1.245, allocations: 29.89 kB / 1.117 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002154/1.245, allocations: 333.9 kB / 1.118 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/1.245, allocations: 48.66 kB / 1.118 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/1.245, allocations: 93.5 kB / 1.118 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/1.246, allocations: 125.5 kB / 1.118 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.246, allocations: 1.5 kB / 1.118 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003963/1.246, allocations: 160.7 kB / 1.118 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.246, allocations: 8.375 kB / 1.118 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.246, allocations: 2.203 kB / 1.118 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.246, allocations: 5.031 kB / 1.118 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/1.246, allocations: 23.41 kB / 1.118 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.246, allocations: 1.891 kB / 1.118 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/1.246, allocations: 17.09 kB / 1.118 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/1.246, allocations: 13.31 kB / 1.118 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002268/1.247, allocations: 144.9 kB / 1.118 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001706/1.247, allocations: 93.53 kB / 1.118 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002808/1.247, allocations: 119.1 kB / 1.118 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/1.247, allocations: 1.156 kB / 1.118 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003541/1.247, allocations: 161.2 kB / 1.119 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/1.247, allocations: 6.344 kB / 1.119 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/1.248, allocations: 2.594 kB / 1.119 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/1.248, allocations: 1.094 kB / 1.119 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/1.248, allocations: 26.83 kB / 1.119 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/1.248, allocations: 5.781 kB / 1.119 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/1.248, allocations: 17.91 kB / 1.119 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/1.248, allocations: 9.25 kB / 1.119 GB, free: 18.59 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.0001234/1.248, allocations: 186 kB / 1.119 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/1.248, allocations: 23.62 kB / 1.119 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/1.248, allocations: 164.9 kB / 1.119 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.248, allocations: 6.406 kB / 1.119 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.248, allocations: 0.7969 kB / 1.119 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.248, allocations: 0 / 1.119 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/1.249, allocations: 0.5861 MB / 1.12 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.249, allocations: 2.328 kB / 1.12 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/1.25, allocations: 29.44 kB / 1.12 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.25, allocations: 1.562 kB / 1.12 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/1.25, allocations: 5.656 kB / 1.12 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.25, allocations: 2.688 kB / 1.12 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.25, allocations: 5.062 kB / 1.12 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/1.25, allocations: 300.2 kB / 1.12 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/1.25, allocations: 120 kB / 1.12 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/1.25, allocations: 5.578 kB / 1.12 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/1.25, allocations: 10.22 kB / 1.12 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/1.25, allocations: 15.83 kB / 1.12 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/1.25, allocations: 9.703 kB / 1.12 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001946/1.251, allocations: 195.3 kB / 1.12 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.251, allocations: 1.406 kB / 1.12 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005145/1.251, allocations: 97.02 kB / 1.12 GB, free: 17.56 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.0004004/1.252, allocations: 162 kB / 1.12 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004775/1.252, allocations: 171.1 kB / 1.121 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.252, allocations: 1.344 kB / 1.121 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/1.252, allocations: 62.7 kB / 1.121 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/1.253, allocations: 117.4 kB / 1.121 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/1.254, allocations: 434 kB / 1.121 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.254, allocations: 0.7576 MB / 1.122 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001998/1.254, allocations: 67.86 kB / 1.122 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/1.254, allocations: 19.34 kB / 1.122 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of SimCode: time 9.52e-07/1.254, allocations: 1.156 kB / 1.122 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of Templates: time 0.009502/1.264, allocations: 4.384 MB / 1.126 GB, free: 16.18 MB / 0.8731 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 -s cvode -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