Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.002035/0.002035, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.464/1.464, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.1 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 68.27 kB / 0.8694 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.8123/1.146, allocations: 159.3 MB / 1.173 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003612/1.149, allocations: 1.708 MB / 1.175 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005843/1.15, allocations: 13.75 kB / 1.175 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006786/1.151, allocations: 135.9 kB / 1.175 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/1.152, allocations: 0.4901 MB / 1.175 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/1.154, allocations: 381.5 kB / 1.176 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003195/1.157, allocations: 2.473 MB / 1.178 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/1.158, allocations: 0.8945 MB / 1.179 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/1.161, allocations: 0.9608 MB / 1.18 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/1.162, allocations: 0.7521 MB / 1.181 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/1.162, allocations: 55.38 kB / 1.181 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/1.164, allocations: 0.7572 MB / 1.181 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/1.165, allocations: 311.1 kB / 1.182 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009822/1.166, allocations: 0.5327 MB / 1.182 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/1.168, allocations: 1.056 MB / 1.183 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.168, allocations: 0 / 1.183 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.994e-06/1.168, allocations: 0 / 1.183 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.272e-05/1.168, allocations: 2.719 kB / 1.183 GB, free: 8.438 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002503/1.17, allocations: 1.39 MB / 1.185 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.17, allocations: 14.83 kB / 1.185 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000847/1.171, allocations: 183.1 kB / 1.185 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/1.172, allocations: 0.7991 MB / 1.186 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/1.172, allocations: 46.16 kB / 1.186 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/1.172, allocations: 56.25 kB / 1.186 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/1.174, allocations: 0.6848 MB / 1.186 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.174, allocations: 0 / 1.186 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/1.174, allocations: 17.47 kB / 1.186 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/1.174, allocations: 10 kB / 1.186 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009203/1.175, allocations: 0.5222 MB / 1.187 GB, free: 6.008 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.004241/1.179, allocations: 3.239 MB / 1.19 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/1.18, allocations: 391.7 kB / 1.19 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/1.18, allocations: 246.2 kB / 1.191 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/1.18, allocations: 195.6 kB / 1.191 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.18, allocations: 40.47 kB / 1.191 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/1.18, allocations: 0 / 1.191 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.005203/1.186, allocations: 1.484 MB / 1.192 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/1.186, allocations: 53.28 kB / 1.192 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/1.187, allocations: 1.073 MB / 1.193 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/1.187, allocations: 34.83 kB / 1.194 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/1.188, allocations: 443.3 kB / 1.194 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/1.188, allocations: 97.23 kB / 1.194 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/1.188, allocations: 73.86 kB / 1.194 GB, free: 488 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.188, allocations: 320.7 kB / 1.194 GB, free: 164 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/1.188, allocations: 161.3 kB / 1.195 GB, free: 80 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/1.189, allocations: 371.9 kB / 1.195 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/1.19, allocations: 388.1 kB / 1.195 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.19, allocations: 0 / 1.195 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002165/1.192, allocations: 0.8055 MB / 1.196 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.192, allocations: 8.797 kB / 1.196 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.192, allocations: 2.062 kB / 1.196 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/1.193, allocations: 355.8 kB / 1.196 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/1.194, allocations: 20.17 kB / 1.196 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/1.195, allocations: 1.014 MB / 1.197 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/1.196, allocations: 67.12 kB / 1.198 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/1.196, allocations: 14.95 kB / 1.198 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007338/1.196, allocations: 453.8 kB / 1.198 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003954/1.197, allocations: 313.1 kB / 1.198 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004766/1.197, allocations: 307.6 kB / 1.199 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/1.197, allocations: 4 kB / 1.199 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001288/1.199, allocations: 0.6023 MB / 1.199 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.199, allocations: 5.219 kB / 1.199 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.199, allocations: 0 / 1.199 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/1.199, allocations: 201.1 kB / 1.199 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/1.199, allocations: 26.45 kB / 1.199 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004024/1.203, allocations: 3.301 MB / 1.203 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/1.204, allocations: 73.67 kB / 1.203 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/1.204, allocations: 7.625 kB / 1.203 GB, free: 10.31 MB / 0.9044 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002025/1.204, allocations: 200 kB / 1.203 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/1.205, allocations: 100.5 kB / 1.203 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/1.206, allocations: 0.6982 MB / 1.204 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.206, allocations: 6.094 kB / 1.204 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.206, allocations: 3.984 kB / 1.204 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.206, allocations: 0 / 1.204 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/1.209, allocations: 1.513 MB / 1.205 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/1.209, allocations: 2.875 kB / 1.205 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.209, allocations: 20.45 kB / 1.205 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/1.209, allocations: 231 kB / 1.205 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/1.209, allocations: 8.719 kB / 1.205 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/1.21, allocations: 0.9771 MB / 1.206 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.21, allocations: 4.031 kB / 1.206 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/1.212, allocations: 0.8026 MB / 1.207 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/1.212, allocations: 207.9 kB / 1.207 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.212, allocations: 8 kB / 1.207 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/1.213, allocations: 55.88 kB / 1.207 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/1.213, allocations: 19.98 kB / 1.207 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/1.213, allocations: 11.94 kB / 1.207 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001148/1.214, allocations: 0.7747 MB / 1.208 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.214, allocations: 0 / 1.208 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001249/1.215, allocations: 399.3 kB / 1.209 GB, free: 5.223 MB / 0.9044 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005002/1.216, allocations: 179.4 kB / 1.209 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001613/1.217, allocations: 0.759 MB / 1.209 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.217, allocations: 0 / 1.209 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004537/1.218, allocations: 218.5 kB / 1.21 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.22, allocations: 0.4892 MB / 1.21 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/1.223, allocations: 2.041 MB / 1.212 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008525/1.224, allocations: 1.173 MB / 1.213 GB, free: 280 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/1.224, allocations: 59.42 kB / 1.213 GB, free: 220 kB / 0.9044 GB Notification: Performance of SimCode: time 1.112e-06/1.224, allocations: 0 / 1.213 GB, free: 220 kB / 0.9044 GB Notification: Performance of Templates: time 0.03179/1.256, allocations: 19.87 MB / 1.233 GB, free: 12.45 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches