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.0008224/0.0008223, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008372/0.0008372, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.438 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.587/2.587, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.000411, allocations: 12 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.8552, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1822/1.037, allocations: 146.7 MB / 1.098 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003374/1.041, allocations: 1.61 MB / 1.099 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/1.041, allocations: 15.94 kB / 1.099 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000535/1.042, allocations: 107.2 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/1.043, allocations: 385.5 kB / 1.1 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/1.044, allocations: 358.9 kB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002898/1.047, allocations: 2.879 MB / 1.103 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/1.048, allocations: 0.6797 MB / 1.104 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/1.05, allocations: 0.7935 MB / 1.104 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008601/1.051, allocations: 0.6963 MB / 1.105 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/1.051, allocations: 36 kB / 1.105 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/1.052, allocations: 0.5535 MB / 1.106 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/1.052, allocations: 275 kB / 1.106 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002932/1.053, allocations: 225.1 kB / 1.106 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/1.054, allocations: 0.9977 MB / 1.107 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/1.054, allocations: 3.984 kB / 1.107 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/1.054, allocations: 0 / 1.107 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.054, allocations: 0 / 1.107 GB, free: 2.855 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.001754/1.056, allocations: 1.229 MB / 1.108 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.056, allocations: 8.031 kB / 1.108 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007096/1.056, allocations: 186.5 kB / 1.108 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/1.057, allocations: 0.7562 MB / 1.109 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/1.057, allocations: 41 kB / 1.109 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/1.058, allocations: 59.94 kB / 1.109 GB, free: 492 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/1.059, allocations: 0.6863 MB / 1.11 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/1.059, allocations: 3.984 kB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/1.059, allocations: 23.98 kB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/1.059, allocations: 12 kB / 1.11 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/1.06, allocations: 0.5191 MB / 1.11 GB, free: 15.22 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.003386/1.063, allocations: 3.253 MB / 1.114 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/1.064, allocations: 404.7 kB / 1.114 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/1.064, allocations: 244.9 kB / 1.114 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/1.064, allocations: 190.2 kB / 1.114 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.064, allocations: 42.56 kB / 1.114 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/1.064, allocations: 0 / 1.114 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28): time 0.004373/1.069, allocations: 1.501 MB / 1.116 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/1.069, allocations: 55.41 kB / 1.116 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/1.07, allocations: 1.057 MB / 1.117 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/1.07, allocations: 37.7 kB / 1.117 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/1.071, allocations: 444.4 kB / 1.117 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.071, allocations: 102.5 kB / 1.118 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/1.071, allocations: 4 kB / 1.118 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.071, allocations: 318 kB / 1.118 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/1.071, allocations: 131.9 kB / 1.118 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/1.071, allocations: 342.7 kB / 1.118 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/1.072, allocations: 183.8 kB / 1.119 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.072, allocations: 0 / 1.119 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001694/1.073, allocations: 0.7413 MB / 1.119 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.492e-05/1.074, allocations: 115.7 kB / 1.119 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.074, allocations: 4 kB / 1.119 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/1.075, allocations: 330.3 kB / 1.12 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/1.075, allocations: 19.98 kB / 1.12 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/1.076, allocations: 1.001 MB / 1.121 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/1.077, allocations: 75.78 kB / 1.121 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/1.077, allocations: 19.98 kB / 1.121 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/1.077, allocations: 0 / 1.121 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009533/1.078, allocations: 492.7 kB / 1.121 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/1.078, allocations: 0 / 1.121 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/1.078, allocations: 206.2 kB / 1.121 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/1.078, allocations: 23.92 kB / 1.121 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/1.082, allocations: 3.037 MB / 1.124 GB, free: 156 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/1.082, allocations: 71.86 kB / 1.124 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/1.082, allocations: 19.92 kB / 1.125 GB, free: 64 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005777/1.083, allocations: 445.5 kB / 1.125 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/1.083, allocations: 98.88 kB / 1.125 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/1.084, allocations: 0.7176 MB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.084, allocations: 4 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/1.084, allocations: 0 / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.084, allocations: 0 / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/1.086, allocations: 1.512 MB / 1.127 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.087, allocations: 4.188 kB / 1.127 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/1.087, allocations: 24.2 kB / 1.127 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/1.087, allocations: 224.6 kB / 1.127 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/1.087, allocations: 11.98 kB / 1.127 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008671/1.088, allocations: 0.9794 MB / 1.128 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/1.088, allocations: 12.03 kB / 1.128 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.089, allocations: 0.821 MB / 1.129 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/1.089, allocations: 207.9 kB / 1.129 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/1.09, allocations: 8 kB / 1.129 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/1.09, allocations: 59.73 kB / 1.129 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/1.09, allocations: 23.91 kB / 1.13 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/1.09, allocations: 8 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009591/1.091, allocations: 0.7669 MB / 1.13 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.5e-07/1.091, allocations: 0 / 1.13 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00111/1.092, allocations: 399.4 kB / 1.131 GB, free: 9.566 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004225/1.093, allocations: 173.9 kB / 1.131 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001404/1.094, allocations: 0.7391 MB / 1.132 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.094, allocations: 0 / 1.132 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/1.094, allocations: 215 kB / 1.132 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/1.096, allocations: 0.4927 MB / 1.132 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/1.099, allocations: 1.912 MB / 1.134 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/1.1, allocations: 1.177 MB / 1.135 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006284/1.1, allocations: 211.3 kB / 1.135 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/1.1, allocations: 55.42 kB / 1.135 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/1.1, allocations: 0 / 1.135 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of Templates: time 0.03183/1.132, allocations: 18.4 MB / 1.153 GB, free: 2.34 MB / 0.9044 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches