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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001741/0.001742, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.002006/0.002006, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.54/1.54, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 66.66 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2629, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.708/0.9709, allocations: 161.5 MB / 1.108 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003338/0.9743, allocations: 1.716 MB / 1.11 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005647/0.9749, allocations: 12.91 kB / 1.11 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006567/0.9757, allocations: 163.7 kB / 1.11 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.9775, allocations: 0.5083 MB / 1.11 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.9789, allocations: 413.2 kB / 1.111 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003057/0.982, allocations: 2.46 MB / 1.113 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.9834, allocations: 0.9316 MB / 1.114 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.9855, allocations: 0.9272 MB / 1.115 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.9866, allocations: 0.7083 MB / 1.116 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.9867, allocations: 59.81 kB / 1.116 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.9886, allocations: 0.7413 MB / 1.116 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004649/0.9891, allocations: 308.8 kB / 1.117 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.9899, allocations: 0.5393 MB / 1.117 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.992, allocations: 1.384 MB / 1.119 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.992, allocations: 4.688 kB / 1.119 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.992, allocations: 1.344 kB / 1.119 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.992, allocations: 0 / 1.119 GB, free: 5.242 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.002449/0.9945, allocations: 1.406 MB / 1.12 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9945, allocations: 8.906 kB / 1.12 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007973/0.9953, allocations: 181.4 kB / 1.12 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.9965, allocations: 0.7966 MB / 1.121 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.9966, allocations: 46.22 kB / 1.121 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/0.9967, allocations: 57.16 kB / 1.121 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.9979, allocations: 0.6875 MB / 1.122 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.9979, allocations: 0 / 1.122 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.9979, allocations: 18.09 kB / 1.122 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.998, allocations: 11.72 kB / 1.122 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/0.9989, allocations: 0.5286 MB / 1.122 GB, free: 19.94 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.003859/1.003, allocations: 3.257 MB / 1.125 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/1.003, allocations: 390 kB / 1.126 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/1.004, allocations: 240.9 kB / 1.126 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/1.004, allocations: 199.4 kB / 1.126 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/1.004, allocations: 35.34 kB / 1.126 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/1.004, allocations: 1.438 kB / 1.126 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28): time 0.004904/1.009, allocations: 1.487 MB / 1.128 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/1.009, allocations: 58.28 kB / 1.128 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/1.011, allocations: 1.07 MB / 1.129 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/1.011, allocations: 33.36 kB / 1.129 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/1.011, allocations: 442.5 kB / 1.129 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/1.011, allocations: 97.56 kB / 1.129 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.011, allocations: 71.66 kB / 1.129 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.011, allocations: 318.9 kB / 1.13 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/1.012, allocations: 171 kB / 1.13 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/1.012, allocations: 352.5 kB / 1.13 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/1.013, allocations: 385.8 kB / 1.131 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.013, allocations: 6.625 kB / 1.131 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00199/1.015, allocations: 0.8113 MB / 1.131 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.015, allocations: 4.906 kB / 1.131 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.015, allocations: 1.469 kB / 1.131 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/1.016, allocations: 356.5 kB / 1.132 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/1.016, allocations: 23.34 kB / 1.132 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/1.017, allocations: 1.004 MB / 1.133 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/1.018, allocations: 47.75 kB / 1.133 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.018, allocations: 15.09 kB / 1.133 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007131/1.019, allocations: 454.1 kB / 1.133 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003252/1.019, allocations: 313.9 kB / 1.134 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004595/1.02, allocations: 312.9 kB / 1.134 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.165e-06/1.02, allocations: 0 / 1.134 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001173/1.021, allocations: 0.5962 MB / 1.134 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.021, allocations: 4.938 kB / 1.134 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.021, allocations: 0.8125 kB / 1.134 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005236/1.021, allocations: 209.4 kB / 1.135 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.021, allocations: 16.19 kB / 1.135 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/1.025, allocations: 3.304 MB / 1.138 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/1.026, allocations: 44.14 kB / 1.138 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/1.026, allocations: 6.562 kB / 1.138 GB, free: 13.5 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.0001965/1.026, allocations: 207.9 kB / 1.138 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/1.026, allocations: 93.62 kB / 1.138 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.027, allocations: 0.7125 MB / 1.139 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.027, allocations: 3.25 kB / 1.139 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/1.027, allocations: 0 / 1.139 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.027, allocations: 0 / 1.139 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/1.03, allocations: 1.505 MB / 1.14 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.03, allocations: 1.156 kB / 1.14 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/1.03, allocations: 19.94 kB / 1.14 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004288/1.03, allocations: 229.7 kB / 1.141 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/1.03, allocations: 10.69 kB / 1.141 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008517/1.031, allocations: 0.984 MB / 1.142 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.031, allocations: 12.94 kB / 1.142 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.032, allocations: 0.7978 MB / 1.142 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/1.033, allocations: 211.7 kB / 1.143 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.033, allocations: 9.844 kB / 1.143 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/1.033, allocations: 17.67 kB / 1.143 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/1.033, allocations: 25.97 kB / 1.143 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/1.033, allocations: 13.31 kB / 1.143 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001036/1.034, allocations: 0.771 MB / 1.143 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.31e-07/1.034, allocations: 0 / 1.143 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00128/1.036, allocations: 399.7 kB / 1.144 GB, free: 11.57 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.000435/1.036, allocations: 177.7 kB / 1.144 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001507/1.037, allocations: 0.749 MB / 1.145 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.038, allocations: 4.125 kB / 1.145 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004098/1.038, allocations: 215.7 kB / 1.145 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.04, allocations: 488.7 kB / 1.145 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/1.043, allocations: 1.757 MB / 1.147 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009196/1.044, allocations: 1.178 MB / 1.148 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.044, allocations: 57.17 kB / 1.148 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of SimCode: time 7.21e-07/1.044, allocations: 0 / 1.148 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of Templates: time 0.02998/1.074, allocations: 19.88 MB / 1.168 GB, free: 2.086 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 -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