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.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.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.001422/0.001422, allocations: 113.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.001467/0.001467, allocations: 189 kB / 17.3 MB, free: 5.613 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.14 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.578/2.578, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.86 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3592, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.8965/1.256, allocations: 161.5 MB / 1.177 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003761/1.26, allocations: 1.713 MB / 1.178 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/1.26, allocations: 10.53 kB / 1.178 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007331/1.261, allocations: 165.5 kB / 1.178 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/1.263, allocations: 0.5107 MB / 1.179 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/1.265, allocations: 426 kB / 1.179 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00389/1.269, allocations: 2.458 MB / 1.182 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/1.271, allocations: 0.9358 MB / 1.183 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/1.273, allocations: 0.9353 MB / 1.184 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/1.275, allocations: 0.7096 MB / 1.184 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/1.275, allocations: 60.42 kB / 1.184 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/1.278, allocations: 0.7394 MB / 1.185 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000558/1.278, allocations: 303 kB / 1.185 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/1.279, allocations: 0.5481 MB / 1.186 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/1.282, allocations: 1.392 MB / 1.187 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.282, allocations: 4 kB / 1.187 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.466e-06/1.282, allocations: 0 / 1.187 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.685e-05/1.282, allocations: 0 / 1.187 GB, free: 5.504 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.002482/1.284, allocations: 1.405 MB / 1.189 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.284, allocations: 9.812 kB / 1.189 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009132/1.285, allocations: 185.8 kB / 1.189 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/1.287, allocations: 0.8507 MB / 1.19 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/1.287, allocations: 40.75 kB / 1.19 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/1.287, allocations: 57 kB / 1.19 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/1.289, allocations: 0.6837 MB / 1.19 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.289, allocations: 1.375 kB / 1.19 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/1.289, allocations: 20.12 kB / 1.19 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/1.289, allocations: 16.36 kB / 1.19 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008778/1.29, allocations: 0.515 MB / 1.191 GB, free: 3.043 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.004082/1.294, allocations: 3.243 MB / 1.194 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/1.294, allocations: 394.4 kB / 1.194 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/1.295, allocations: 245.6 kB / 1.195 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003473/1.295, allocations: 200.2 kB / 1.195 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.295, allocations: 37.28 kB / 1.195 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/1.295, allocations: 3.938 kB / 1.195 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.004893/1.3, allocations: 1.486 MB / 1.196 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.3, allocations: 53.81 kB / 1.196 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/1.302, allocations: 1.069 MB / 1.197 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/1.302, allocations: 35.36 kB / 1.197 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/1.302, allocations: 447 kB / 1.198 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.302, allocations: 94.72 kB / 1.198 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/1.302, allocations: 68.8 kB / 1.198 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.302, allocations: 321.2 kB / 1.198 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/1.303, allocations: 160.6 kB / 1.198 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/1.303, allocations: 361.8 kB / 1.199 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/1.304, allocations: 386.3 kB / 1.199 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.304, allocations: 0 / 1.199 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001993/1.306, allocations: 0.812 MB / 1.2 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.306, allocations: 5.375 kB / 1.2 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.306, allocations: 0 / 1.2 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/1.307, allocations: 355.2 kB / 1.2 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/1.307, allocations: 26.45 kB / 1.2 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/1.309, allocations: 0.9964 MB / 1.201 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/1.309, allocations: 47.59 kB / 1.201 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/1.309, allocations: 15.42 kB / 1.201 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007132/1.31, allocations: 454.3 kB / 1.202 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003865/1.31, allocations: 314.3 kB / 1.202 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004637/1.311, allocations: 303.5 kB / 1.202 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/1.311, allocations: 4 kB / 1.202 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001235/1.312, allocations: 0.6065 MB / 1.203 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.312, allocations: 5.375 kB / 1.203 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/1.312, allocations: 2.375 kB / 1.203 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/1.313, allocations: 205 kB / 1.203 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.313, allocations: 19.59 kB / 1.203 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/1.317, allocations: 3.306 MB / 1.206 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/1.317, allocations: 51.22 kB / 1.207 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/1.317, allocations: 7.594 kB / 1.207 GB, free: 7.371 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.000206/1.318, allocations: 195.8 kB / 1.207 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/1.318, allocations: 99.64 kB / 1.207 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/1.319, allocations: 0.7093 MB / 1.207 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/1.319, allocations: 4.875 kB / 1.207 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/1.319, allocations: 0 / 1.207 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.319, allocations: 0 / 1.207 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/1.322, allocations: 1.502 MB / 1.209 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.322, allocations: 0 / 1.209 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/1.322, allocations: 23.92 kB / 1.209 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/1.322, allocations: 224.8 kB / 1.209 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.322, allocations: 4 kB / 1.209 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009197/1.323, allocations: 0.9797 MB / 1.21 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.323, allocations: 4.031 kB / 1.21 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/1.325, allocations: 0.8095 MB / 1.211 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/1.325, allocations: 215.8 kB / 1.211 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/1.325, allocations: 8 kB / 1.211 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/1.325, allocations: 19.98 kB / 1.211 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/1.325, allocations: 19.97 kB / 1.211 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/1.325, allocations: 12 kB / 1.211 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009957/1.326, allocations: 0.7708 MB / 1.212 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.9e-07/1.327, allocations: 3.938 kB / 1.212 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001119/1.328, allocations: 399.3 kB / 1.212 GB, free: 1.613 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.0004657/1.328, allocations: 184.5 kB / 1.213 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0015/1.33, allocations: 0.7553 MB / 1.213 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.33, allocations: 4 kB / 1.213 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/1.33, allocations: 211.1 kB / 1.213 GB, free: 460 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.332, allocations: 485.2 kB / 1.214 GB, free: 15.98 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/1.335, allocations: 1.688 MB / 1.216 GB, free: 14.24 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/1.335, allocations: 1.176 MB / 1.217 GB, free: 13.04 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005971/1.336, allocations: 207.3 kB / 1.217 GB, free: 12.83 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/1.336, allocations: 55.42 kB / 1.217 GB, free: 12.77 MB / 0.92 GB Notification: Performance of SimCode: time 1.603e-06/1.336, allocations: 4 kB / 1.217 GB, free: 12.77 MB / 0.92 GB Notification: Performance of Templates: time 0.03586/1.372, allocations: 19.73 MB / 1.236 GB, free: 9.289 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=480 -s gbode -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