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.001263/0.001268, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001277/0.001277, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.32/2.32, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 64.7 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2931, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.7174/1.011, allocations: 161.5 MB / 1.109 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003388/1.014, allocations: 1.714 MB / 1.111 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/1.014, allocations: 10.88 kB / 1.111 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006599/1.015, allocations: 161.7 kB / 1.111 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/1.017, allocations: 0.5135 MB / 1.111 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/1.018, allocations: 428.8 kB / 1.112 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002987/1.021, allocations: 2.455 MB / 1.114 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/1.022, allocations: 0.9247 MB / 1.115 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/1.024, allocations: 0.9383 MB / 1.116 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/1.025, allocations: 0.7087 MB / 1.117 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/1.025, allocations: 56.62 kB / 1.117 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/1.027, allocations: 0.7407 MB / 1.117 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/1.027, allocations: 310.5 kB / 1.118 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007234/1.028, allocations: 0.5373 MB / 1.118 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/1.029, allocations: 1.401 MB / 1.119 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.029, allocations: 1.438 kB / 1.119 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/1.029, allocations: 4 kB / 1.119 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.493e-05/1.029, allocations: 2.625 kB / 1.119 GB, free: 4.969 MB / 0.8575 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.002303/1.032, allocations: 1.401 MB / 1.121 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.032, allocations: 12.69 kB / 1.121 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007609/1.033, allocations: 181.6 kB / 1.121 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/1.034, allocations: 0.8464 MB / 1.122 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/1.034, allocations: 42.53 kB / 1.122 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/1.034, allocations: 61.72 kB / 1.122 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.036, allocations: 0.6831 MB / 1.123 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/1.036, allocations: 4.766 kB / 1.123 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/1.036, allocations: 20.53 kB / 1.123 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/1.036, allocations: 12.38 kB / 1.123 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/1.037, allocations: 0.5182 MB / 1.123 GB, free: 19.66 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.003886/1.04, allocations: 3.241 MB / 1.126 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/1.041, allocations: 394.6 kB / 1.127 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/1.041, allocations: 243.8 kB / 1.127 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/1.042, allocations: 194.6 kB / 1.127 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/1.042, allocations: 39.88 kB / 1.127 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 1.654e-06/1.042, allocations: 0 / 1.127 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28): time 0.004777/1.047, allocations: 1.484 MB / 1.129 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/1.047, allocations: 53.94 kB / 1.129 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.048, allocations: 1.069 MB / 1.13 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/1.048, allocations: 33.2 kB / 1.13 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/1.049, allocations: 447.4 kB / 1.13 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/1.049, allocations: 100.2 kB / 1.13 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/1.049, allocations: 70.27 kB / 1.13 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.049, allocations: 318.9 kB / 1.131 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/1.049, allocations: 166.1 kB / 1.131 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/1.049, allocations: 356.9 kB / 1.131 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/1.05, allocations: 383.8 kB / 1.132 GB, free: 16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.05, allocations: 0 / 1.132 GB, free: 16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001861/1.052, allocations: 0.8106 MB / 1.132 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.052, allocations: 8.266 kB / 1.132 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.052, allocations: 6.516 kB / 1.132 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/1.053, allocations: 357.3 kB / 1.133 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/1.053, allocations: 22.69 kB / 1.133 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000923/1.054, allocations: 0.9964 MB / 1.134 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/1.055, allocations: 49.42 kB / 1.134 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/1.055, allocations: 16.16 kB / 1.134 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006432/1.056, allocations: 461.7 kB / 1.134 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000329/1.056, allocations: 315.5 kB / 1.134 GB, free: 15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004364/1.056, allocations: 303.8 kB / 1.135 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/1.056, allocations: 0 / 1.135 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001105/1.058, allocations: 0.6038 MB / 1.135 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.058, allocations: 5.094 kB / 1.135 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/1.058, allocations: 5.141 kB / 1.135 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/1.058, allocations: 207.2 kB / 1.136 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/1.058, allocations: 18.03 kB / 1.136 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/1.062, allocations: 3.291 MB / 1.139 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/1.062, allocations: 48.64 kB / 1.139 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/1.062, allocations: 8.094 kB / 1.139 GB, free: 13.22 MB / 0.8731 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.0001761/1.063, allocations: 196.7 kB / 1.139 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.063, allocations: 95.44 kB / 1.139 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/1.064, allocations: 0.7142 MB / 1.14 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/1.064, allocations: 2.594 kB / 1.14 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/1.064, allocations: 0 / 1.14 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.064, allocations: 3.672 kB / 1.14 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/1.067, allocations: 1.502 MB / 1.141 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.067, allocations: 2.375 kB / 1.141 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/1.067, allocations: 24.92 kB / 1.141 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/1.067, allocations: 228.2 kB / 1.142 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/1.067, allocations: 10.22 kB / 1.142 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009343/1.068, allocations: 0.9745 MB / 1.142 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.068, allocations: 1.875 kB / 1.142 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/1.069, allocations: 0.8056 MB / 1.143 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/1.07, allocations: 216 kB / 1.143 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.07, allocations: 10 kB / 1.143 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/1.07, allocations: 23.05 kB / 1.144 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/1.07, allocations: 19.92 kB / 1.144 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/1.07, allocations: 11.25 kB / 1.144 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001601/1.072, allocations: 0.7689 MB / 1.144 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8.31e-07/1.072, allocations: 1.375 kB / 1.144 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001915/1.074, allocations: 397 kB / 1.145 GB, free: 11.32 MB / 0.8731 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.0004723/1.074, allocations: 188.3 kB / 1.145 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001509/1.076, allocations: 0.7538 MB / 1.146 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.076, allocations: 3.906 kB / 1.146 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/1.076, allocations: 211.8 kB / 1.146 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.078, allocations: 479.8 kB / 1.146 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/1.081, allocations: 1.685 MB / 1.148 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/1.082, allocations: 1.177 MB / 1.149 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006165/1.082, allocations: 209.3 kB / 1.149 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/1.082, allocations: 58.28 kB / 1.149 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of SimCode: time 8.31e-07/1.082, allocations: 3.938 kB / 1.149 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of Templates: time 0.02887/1.111, allocations: 19.74 MB / 1.169 GB, free: 2.27 MB / 0.8731 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 -s gbode -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