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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001134/0.001134, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001105/0.001105, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 0.6655 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2205/1.225, allocations: 161.5 MB / 1.246 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004581/1.23, allocations: 1.71 MB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008893/1.23, allocations: 10.34 kB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009807/1.232, allocations: 161.5 kB / 1.248 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002058/1.234, allocations: 0.5265 MB / 1.249 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/1.235, allocations: 437.8 kB / 1.249 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001122/1.236, allocations: 0.5735 MB / 1.25 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004383/1.237, allocations: 176.5 kB / 1.25 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008703/1.238, allocations: 326.8 kB / 1.25 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/1.238, allocations: 159.2 kB / 1.25 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/1.238, allocations: 12 kB / 1.25 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/1.24, allocations: 0.6977 MB / 1.251 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/1.24, allocations: 75.78 kB / 1.251 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/1.24, allocations: 123.3 kB / 1.251 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/1.241, allocations: 0.4925 MB / 1.252 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.241, allocations: 0 / 1.252 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/1.241, allocations: 4 kB / 1.252 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.241, allocations: 0 / 1.252 GB, free: 6.812 MB / 0.9825 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.001172/1.243, allocations: 0.5823 MB / 1.252 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.243, allocations: 8.031 kB / 1.252 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/1.243, allocations: 59.67 kB / 1.252 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/1.244, allocations: 301.3 kB / 1.253 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/1.244, allocations: 12 kB / 1.253 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/1.244, allocations: 16 kB / 1.253 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/1.244, allocations: 196.1 kB / 1.253 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.244, allocations: 0 / 1.253 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/1.244, allocations: 7.938 kB / 1.253 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.244, allocations: 11.97 kB / 1.253 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/1.245, allocations: 123.9 kB / 1.253 GB, free: 5.406 MB / 0.9825 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.00121/1.246, allocations: 0.7846 MB / 1.254 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/1.246, allocations: 82.53 kB / 1.254 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/1.246, allocations: 76.86 kB / 1.254 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/1.247, allocations: 186.2 kB / 1.254 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.247, allocations: 38.5 kB / 1.254 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/1.247, allocations: 0 / 1.254 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006949/1.247, allocations: 221.2 kB / 1.254 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/1.247, allocations: 51.41 kB / 1.254 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/1.248, allocations: 271 kB / 1.255 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/1.248, allocations: 29.7 kB / 1.255 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/1.248, allocations: 144 kB / 1.255 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/1.248, allocations: 31.55 kB / 1.255 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/1.248, allocations: 33.62 kB / 1.255 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.248, allocations: 334.8 kB / 1.255 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/1.248, allocations: 44.83 kB / 1.255 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/1.248, allocations: 101.4 kB / 1.255 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/1.249, allocations: 115.3 kB / 1.255 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.249, allocations: 4 kB / 1.255 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003545/1.249, allocations: 161.4 kB / 1.256 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.249, allocations: 4 kB / 1.256 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.249, allocations: 0 / 1.256 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.249, allocations: 7.938 kB / 1.256 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/1.249, allocations: 23.98 kB / 1.256 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.249, allocations: 0 / 1.256 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/1.249, allocations: 19.83 kB / 1.256 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/1.249, allocations: 16.02 kB / 1.256 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002012/1.25, allocations: 144.1 kB / 1.256 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001624/1.25, allocations: 89.05 kB / 1.256 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003036/1.25, allocations: 127.3 kB / 1.256 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.153e-06/1.25, allocations: 0 / 1.256 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003402/1.25, allocations: 153.3 kB / 1.256 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/1.25, allocations: 7.938 kB / 1.256 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/1.25, allocations: 0 / 1.256 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/1.251, allocations: 4 kB / 1.256 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/1.251, allocations: 24.02 kB / 1.256 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/1.251, allocations: 11.88 kB / 1.256 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/1.251, allocations: 11.98 kB / 1.256 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/1.251, allocations: 8 kB / 1.256 GB, free: 1.84 MB / 0.9825 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.0001841/1.251, allocations: 184.3 kB / 1.256 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/1.251, allocations: 19.72 kB / 1.256 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/1.251, allocations: 167.4 kB / 1.257 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.251, allocations: 3.938 kB / 1.257 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.251, allocations: 7.984 kB / 1.257 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/1.252, allocations: 108.8 kB / 1.257 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/1.252, allocations: 480 / 1.257 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/1.252, allocations: 11.98 kB / 1.257 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/1.252, allocations: 8.172 kB / 1.257 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003844/1.252, allocations: 224.8 kB / 1.257 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004553/1.253, allocations: 326.3 kB / 1.257 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001315/1.253, allocations: 47.95 kB / 1.257 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002165/1.253, allocations: 193.9 kB / 1.257 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of Backend: time 6.31e-07/1.253, allocations: 4 kB / 1.257 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.254, allocations: 349.2 kB / 1.258 GB, free: 164 kB / 0.9825 GB Notification: Performance of SimCode: time 0.001181/1.255, allocations: 0.9208 MB / 1.259 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01192/1.267, allocations: 5.885 MB / 1.264 GB, free: 9.367 MB / 0.9981 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