Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001451/0.001451, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001538/0.001538, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.531/1.531, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 65.17 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3206, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.9206/1.241, allocations: 161.5 MB / 1.176 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003422/1.245, allocations: 1.706 MB / 1.178 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004503/1.245, allocations: 14.78 kB / 1.178 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006466/1.246, allocations: 164.5 kB / 1.178 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001525/1.247, allocations: 0.5031 MB / 1.179 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/1.249, allocations: 421.5 kB / 1.179 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009793/1.25, allocations: 0.5723 MB / 1.18 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/1.25, allocations: 183.4 kB / 1.18 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006971/1.251, allocations: 325.5 kB / 1.18 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/1.251, allocations: 149.6 kB / 1.18 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/1.251, allocations: 12.84 kB / 1.18 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/1.253, allocations: 0.6951 MB / 1.181 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/1.253, allocations: 82.39 kB / 1.181 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/1.253, allocations: 111.4 kB / 1.181 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008329/1.254, allocations: 0.5011 MB / 1.182 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.254, allocations: 0 / 1.182 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/1.254, allocations: 0.9688 kB / 1.182 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.254, allocations: 0 / 1.182 GB, free: 8.758 MB / 0.8887 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.0008473/1.255, allocations: 0.5786 MB / 1.182 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.255, allocations: 9.828 kB / 1.182 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003442/1.255, allocations: 55.66 kB / 1.182 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/1.255, allocations: 310.7 kB / 1.183 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/1.255, allocations: 10.72 kB / 1.183 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/1.255, allocations: 13.62 kB / 1.183 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/1.256, allocations: 200.6 kB / 1.183 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.256, allocations: 0 / 1.183 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/1.256, allocations: 6.75 kB / 1.183 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.256, allocations: 2.75 kB / 1.183 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/1.256, allocations: 126.6 kB / 1.183 GB, free: 7.699 MB / 0.8887 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.001061/1.257, allocations: 0.778 MB / 1.184 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/1.258, allocations: 84.34 kB / 1.184 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/1.258, allocations: 77.41 kB / 1.184 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/1.258, allocations: 191.7 kB / 1.184 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/1.258, allocations: 32 kB / 1.184 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/1.258, allocations: 5.344 kB / 1.184 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0006797/1.259, allocations: 226.8 kB / 1.184 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/1.259, allocations: 52.94 kB / 1.184 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/1.259, allocations: 270.5 kB / 1.185 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/1.259, allocations: 27.45 kB / 1.185 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/1.259, allocations: 143.1 kB / 1.185 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/1.259, allocations: 31.72 kB / 1.185 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/1.259, allocations: 32.64 kB / 1.185 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.259, allocations: 340.3 kB / 1.185 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/1.26, allocations: 50.92 kB / 1.185 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/1.26, allocations: 87.14 kB / 1.185 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/1.26, allocations: 127.6 kB / 1.186 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.26, allocations: 0 / 1.186 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003392/1.26, allocations: 157.7 kB / 1.186 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.26, allocations: 5.656 kB / 1.186 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.26, allocations: 1.062 kB / 1.186 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.26, allocations: 9.344 kB / 1.186 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/1.261, allocations: 24.83 kB / 1.186 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.261, allocations: 1.219 kB / 1.186 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/1.261, allocations: 16.86 kB / 1.186 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/1.261, allocations: 4.5 kB / 1.186 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002047/1.261, allocations: 149.4 kB / 1.186 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001498/1.261, allocations: 91.23 kB / 1.186 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002381/1.261, allocations: 121.8 kB / 1.186 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/1.261, allocations: 0 / 1.186 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003082/1.262, allocations: 156.4 kB / 1.186 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/1.262, allocations: 5.375 kB / 1.186 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/1.262, allocations: 1.406 kB / 1.186 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-06/1.262, allocations: 1.375 kB / 1.186 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/1.262, allocations: 27.95 kB / 1.186 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.262, allocations: 11.08 kB / 1.186 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/1.262, allocations: 15.61 kB / 1.186 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/1.262, allocations: 8.531 kB / 1.186 GB, free: 5.023 MB / 0.8887 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.0001011/1.262, allocations: 187 kB / 1.186 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/1.262, allocations: 23.44 kB / 1.186 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/1.263, allocations: 164.2 kB / 1.187 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.263, allocations: 6.531 kB / 1.187 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.263, allocations: 3.938 kB / 1.187 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.263, allocations: 0 / 1.187 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/1.264, allocations: 0.5899 MB / 1.187 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.264, allocations: 5.625 kB / 1.187 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.264, allocations: 21.36 kB / 1.187 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.264, allocations: 3.531 kB / 1.187 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/1.264, allocations: 2.406 kB / 1.187 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.264, allocations: 2.406 kB / 1.187 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.264, allocations: 6.344 kB / 1.187 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/1.264, allocations: 303.5 kB / 1.188 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/1.264, allocations: 113.1 kB / 1.188 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/1.264, allocations: 3.406 kB / 1.188 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/1.264, allocations: 15.67 kB / 1.188 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/1.264, allocations: 16.8 kB / 1.188 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/1.264, allocations: 4.5 kB / 1.188 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001875/1.265, allocations: 198.8 kB / 1.188 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.265, allocations: 0 / 1.188 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004975/1.265, allocations: 92.88 kB / 1.188 GB, free: 3.617 MB / 0.8887 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.0003792/1.266, allocations: 177.5 kB / 1.188 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004309/1.266, allocations: 163.8 kB / 1.188 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.266, allocations: 0 / 1.188 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/1.266, allocations: 62.59 kB / 1.188 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/1.267, allocations: 122.6 kB / 1.188 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/1.268, allocations: 444.3 kB / 1.189 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/1.268, allocations: 0.7536 MB / 1.19 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001866/1.268, allocations: 71.25 kB / 1.19 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/1.268, allocations: 20.59 kB / 1.19 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/1.268, allocations: 0 / 1.19 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of Templates: time 0.009232/1.277, allocations: 4.378 MB / 1.194 GB, free: 56 kB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches