Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_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_9_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.006756/0.006756, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001535/0.001535, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.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.37/2.37, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7824, allocations: 140.3 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1723/0.9548, allocations: 159.3 MB / 1.105 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.9578, allocations: 1.73 MB / 1.107 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000401/0.9582, allocations: 11.88 kB / 1.107 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.9591, allocations: 131.2 kB / 1.107 GB, free: 396 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.9606, allocations: 498 kB / 1.107 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.9617, allocations: 379.8 kB / 1.108 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003218/0.9649, allocations: 3.401 MB / 1.111 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.9662, allocations: 0.7586 MB / 1.112 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.9679, allocations: 0.8129 MB / 1.113 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.9691, allocations: 0.7351 MB / 1.113 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.9693, allocations: 40 kB / 1.113 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.971, allocations: 0.8068 MB / 1.114 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.9714, allocations: 290.9 kB / 1.114 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009206/0.9723, allocations: 0.5089 MB / 1.115 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.9737, allocations: 1.025 MB / 1.116 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9737, allocations: 0 / 1.116 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9737, allocations: 0 / 1.116 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.639e-05/0.9737, allocations: 0 / 1.116 GB, free: 7.121 MB / 0.8731 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.002363/0.9761, allocations: 1.404 MB / 1.117 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9761, allocations: 8.031 kB / 1.117 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/0.977, allocations: 186.5 kB / 1.118 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.9782, allocations: 0.7982 MB / 1.118 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.9782, allocations: 41 kB / 1.118 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/0.9783, allocations: 59.94 kB / 1.118 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.9795, allocations: 0.6823 MB / 1.119 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.9795, allocations: 4 kB / 1.119 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.9795, allocations: 24 kB / 1.119 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.9796, allocations: 15.94 kB / 1.119 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008885/0.9804, allocations: 0.519 MB / 1.12 GB, free: 3.27 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.003606/0.9841, allocations: 3.245 MB / 1.123 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000591/0.9847, allocations: 388.6 kB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.985, allocations: 242.9 kB / 1.123 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.9854, allocations: 190.2 kB / 1.124 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.9854, allocations: 38.55 kB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.9854, allocations: 4 kB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.005151/0.9906, allocations: 1.489 MB / 1.125 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.9906, allocations: 55.41 kB / 1.125 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.9921, allocations: 1.069 MB / 1.126 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.9922, allocations: 33.7 kB / 1.126 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.9925, allocations: 444.4 kB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.9926, allocations: 102.6 kB / 1.127 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.9928, allocations: 73.69 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.9929, allocations: 314 kB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.9932, allocations: 164.7 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.9936, allocations: 352.3 kB / 1.128 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.9943, allocations: 389.2 kB / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9943, allocations: 0 / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002161/0.9964, allocations: 0.8135 MB / 1.129 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.9965, allocations: 8.328 kB / 1.129 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.9965, allocations: 0 / 1.129 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.9981, allocations: 353.1 kB / 1.129 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.9982, allocations: 31.86 kB / 1.129 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.9992, allocations: 1.004 MB / 1.13 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/0.9999, allocations: 71.78 kB / 1.13 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/1, allocations: 16 kB / 1.13 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000619/1.001, allocations: 449.7 kB / 1.131 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003648/1.001, allocations: 321.8 kB / 1.131 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004667/1.001, allocations: 303.1 kB / 1.131 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/1.001, allocations: 0 / 1.131 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001239/1.003, allocations: 0.5983 MB / 1.132 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.003, allocations: 4 kB / 1.132 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.003, allocations: 8 kB / 1.132 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/1.003, allocations: 204.6 kB / 1.132 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/1.003, allocations: 19.98 kB / 1.132 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/1.008, allocations: 3.021 MB / 1.135 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.009, allocations: 76.23 kB / 1.135 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/1.009, allocations: 8 kB / 1.135 GB, free: 2.594 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 (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.0002549/1.009, allocations: 208 kB / 1.135 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/1.009, allocations: 94.81 kB / 1.135 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/1.011, allocations: 0.711 MB / 1.136 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.011, allocations: 0 / 1.136 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.011, allocations: 8 kB / 1.136 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.011, allocations: 7.984 kB / 1.136 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/1.014, allocations: 1.495 MB / 1.137 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.014, allocations: 224 / 1.137 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/1.014, allocations: 31.86 kB / 1.138 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005517/1.015, allocations: 232.5 kB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/1.015, allocations: 8 kB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/1.016, allocations: 0.979 MB / 1.139 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.016, allocations: 4.031 kB / 1.139 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/1.017, allocations: 0.7979 MB / 1.139 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/1.018, allocations: 211.9 kB / 1.14 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.018, allocations: 8 kB / 1.14 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/1.019, allocations: 47.89 kB / 1.14 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/1.019, allocations: 19.91 kB / 1.14 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/1.019, allocations: 12 kB / 1.14 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001125/1.02, allocations: 0.7708 MB / 1.141 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.02, allocations: 3.828 kB / 1.141 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001201/1.021, allocations: 407.3 kB / 1.141 GB, free: 12.36 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.0004546/1.021, allocations: 175.8 kB / 1.141 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001514/1.023, allocations: 0.7485 MB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.023, allocations: 0 / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004461/1.023, allocations: 211 kB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.026, allocations: 488.9 kB / 1.142 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/1.029, allocations: 2.032 MB / 1.144 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/1.029, allocations: 1.177 MB / 1.146 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/1.03, allocations: 55.44 kB / 1.146 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of SimCode: time 7.52e-07/1.03, allocations: 3.938 kB / 1.146 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of Templates: time 0.02691/1.056, allocations: 19.94 MB / 1.165 GB, free: 3.57 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches