Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.01029/0.01029, allocations: 101.5 kB / 15.73 MB, free: 5.973 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.001812/0.001812, allocations: 188.6 kB / 16.67 MB, free: 5.895 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 469.8 MB / 0.7425 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.8451, allocations: 159.1 MB / 1.221 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1809/1.026, allocations: 162 MB / 1.379 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003822/1.03, allocations: 1.714 MB / 1.38 GB, free: 13.87 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/1.03, allocations: 11.94 kB / 1.38 GB, free: 13.86 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007188/1.031, allocations: 166.9 kB / 1.381 GB, free: 13.7 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/1.033, allocations: 0.529 MB / 1.381 GB, free: 13.16 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/1.034, allocations: 425.4 kB / 1.382 GB, free: 12.75 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0008477/1.035, allocations: 0.5732 MB / 1.382 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/1.035, allocations: 149.5 kB / 1.382 GB, free: 12.03 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/1.036, allocations: 334.7 kB / 1.383 GB, free: 11.7 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/1.036, allocations: 147.4 kB / 1.383 GB, free: 11.55 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/1.036, allocations: 12 kB / 1.383 GB, free: 11.54 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/1.037, allocations: 0.7054 MB / 1.383 GB, free: 10.84 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.475e-05/1.037, allocations: 75.73 kB / 1.383 GB, free: 10.76 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/1.037, allocations: 115.4 kB / 1.384 GB, free: 10.65 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000815/1.038, allocations: 0.4939 MB / 1.384 GB, free: 10.16 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.038, allocations: 4 kB / 1.384 GB, free: 10.15 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.834e-06/1.038, allocations: 0 / 1.384 GB, free: 10.15 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.346e-06/1.038, allocations: 0 / 1.384 GB, free: 10.15 MB / 1.107 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.001162/1.039, allocations: 0.5911 MB / 1.385 GB, free: 9.512 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/1.039, allocations: 8.031 kB / 1.385 GB, free: 9.504 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/1.04, allocations: 59.78 kB / 1.385 GB, free: 9.445 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/1.04, allocations: 309.5 kB / 1.385 GB, free: 9.105 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/1.04, allocations: 12 kB / 1.385 GB, free: 9.094 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/1.04, allocations: 19.98 kB / 1.385 GB, free: 9.074 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/1.041, allocations: 204 kB / 1.385 GB, free: 8.859 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.041, allocations: 0 / 1.385 GB, free: 8.859 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/1.041, allocations: 11.94 kB / 1.385 GB, free: 8.848 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/1.041, allocations: 7.938 kB / 1.385 GB, free: 8.84 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/1.041, allocations: 127.8 kB / 1.385 GB, free: 8.715 MB / 1.107 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.001241/1.042, allocations: 0.7738 MB / 1.386 GB, free: 7.871 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/1.043, allocations: 82.47 kB / 1.386 GB, free: 7.781 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/1.043, allocations: 76.86 kB / 1.386 GB, free: 7.703 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/1.043, allocations: 182.2 kB / 1.386 GB, free: 7.488 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.043, allocations: 42.55 kB / 1.386 GB, free: 7.438 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/1.043, allocations: 0 / 1.386 GB, free: 7.438 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0007265/1.044, allocations: 217.3 kB / 1.387 GB, free: 7.219 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.044, allocations: 55.41 kB / 1.387 GB, free: 7.152 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/1.044, allocations: 267 kB / 1.387 GB, free: 6.891 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.044, allocations: 29.7 kB / 1.387 GB, free: 6.855 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.044, allocations: 148 kB / 1.387 GB, free: 6.707 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/1.044, allocations: 35.69 kB / 1.387 GB, free: 6.672 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/1.045, allocations: 29.72 kB / 1.387 GB, free: 6.637 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.045, allocations: 338.8 kB / 1.388 GB, free: 6.297 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/1.045, allocations: 52.81 kB / 1.388 GB, free: 6.242 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/1.045, allocations: 85.11 kB / 1.388 GB, free: 6.141 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/1.045, allocations: 119.3 kB / 1.388 GB, free: 6.012 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.045, allocations: 0 / 1.388 GB, free: 6.012 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003208/1.046, allocations: 161.4 kB / 1.388 GB, free: 5.848 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.046, allocations: 8 kB / 1.388 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.046, allocations: 0 / 1.388 GB, free: 5.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.046, allocations: 3.938 kB / 1.388 GB, free: 5.836 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/1.046, allocations: 31.95 kB / 1.388 GB, free: 5.805 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/1.046, allocations: 8.547 kB / 1.388 GB, free: 5.797 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/1.046, allocations: 19.88 kB / 1.388 GB, free: 5.777 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/1.046, allocations: 4 kB / 1.388 GB, free: 5.773 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001858/1.046, allocations: 148.1 kB / 1.388 GB, free: 5.625 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001529/1.046, allocations: 93.05 kB / 1.388 GB, free: 5.516 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002254/1.046, allocations: 119.3 kB / 1.388 GB, free: 5.387 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/1.046, allocations: 4 kB / 1.388 GB, free: 5.383 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003051/1.047, allocations: 157.4 kB / 1.389 GB, free: 5.223 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/1.047, allocations: 9.875 kB / 1.389 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/1.047, allocations: 0 / 1.389 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-06/1.047, allocations: 3.938 kB / 1.389 GB, free: 5.211 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/1.047, allocations: 23.92 kB / 1.389 GB, free: 5.188 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/1.047, allocations: 4 kB / 1.389 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1.047, allocations: 15.98 kB / 1.389 GB, free: 5.168 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/1.047, allocations: 4.125 kB / 1.389 GB, free: 5.164 MB / 1.107 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.0001161/1.047, allocations: 195.3 kB / 1.389 GB, free: 4.969 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/1.047, allocations: 27.84 kB / 1.389 GB, free: 4.941 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/1.048, allocations: 159.6 kB / 1.389 GB, free: 4.777 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.048, allocations: 3.984 kB / 1.389 GB, free: 4.773 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.048, allocations: 11.92 kB / 1.389 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/1.048, allocations: 0 / 1.389 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008654/1.048, allocations: 0.5937 MB / 1.39 GB, free: 4.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.048, allocations: 0 / 1.39 GB, free: 4.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.049, allocations: 24.2 kB / 1.39 GB, free: 4.066 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.049, allocations: 4 kB / 1.39 GB, free: 4.062 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/1.049, allocations: 4 kB / 1.39 GB, free: 4.059 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.049, allocations: 7.922 kB / 1.39 GB, free: 4.051 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.049, allocations: 4 kB / 1.39 GB, free: 4.047 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/1.049, allocations: 293.2 kB / 1.39 GB, free: 3.723 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/1.049, allocations: 113 kB / 1.39 GB, free: 3.594 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/1.049, allocations: 8.359 kB / 1.39 GB, free: 3.586 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/1.049, allocations: 11.98 kB / 1.39 GB, free: 3.574 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/1.049, allocations: 23.86 kB / 1.39 GB, free: 3.551 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/1.049, allocations: 4 kB / 1.39 GB, free: 3.547 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001888/1.05, allocations: 197.9 kB / 1.39 GB, free: 3.352 MB / 1.107 GB Notification: Performance of sort global known variables: time 6e-08/1.05, allocations: 0 / 1.39 GB, free: 3.352 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004843/1.05, allocations: 91.83 kB / 1.39 GB, free: 3.262 MB / 1.107 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.0004087/1.05, allocations: 165.6 kB / 1.39 GB, free: 3.098 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004716/1.051, allocations: 172.2 kB / 1.391 GB, free: 2.93 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.051, allocations: 0 / 1.391 GB, free: 2.93 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/1.051, allocations: 63.98 kB / 1.391 GB, free: 2.867 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/1.052, allocations: 115.4 kB / 1.391 GB, free: 2.758 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/1.053, allocations: 445.5 kB / 1.391 GB, free: 2.277 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/1.053, allocations: 0.7519 MB / 1.392 GB, free: 1.5 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000186/1.053, allocations: 65.89 kB / 1.392 GB, free: 1.434 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/1.053, allocations: 27.42 kB / 1.392 GB, free: 1.406 MB / 1.107 GB Notification: Performance of SimCode: time 1.032e-06/1.053, allocations: 3.938 kB / 1.392 GB, free: 1.402 MB / 1.107 GB Notification: Performance of Templates: time 0.00901/1.062, allocations: 4.412 MB / 1.396 GB, free: 13.05 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches