Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9507/0.9507, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.754/1.754, allocations: 377.8 MB / 0.6228 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 4 kB / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.983e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.638/0.638, allocations: 142.3 MB / 1.121 GB, free: 16.86 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002616/0.6407, allocations: 1.615 MB / 1.123 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003608/0.641, allocations: 22 kB / 1.123 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005853/0.6416, allocations: 150.2 kB / 1.123 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.6429, allocations: 0.5267 MB / 1.123 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.6441, allocations: 463 kB / 1.124 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008736/0.645, allocations: 0.5742 MB / 1.124 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.6453, allocations: 139.5 kB / 1.125 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009955/0.6463, allocations: 0.5538 MB / 1.125 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.6464, allocations: 133.5 kB / 1.125 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.6465, allocations: 13.38 kB / 1.125 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.6475, allocations: 0.5684 MB / 1.126 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.6476, allocations: 85.89 kB / 1.126 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.871e-05/0.6477, allocations: 77.31 kB / 1.126 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008091/0.6485, allocations: 0.5134 MB / 1.126 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6485, allocations: 4.938 kB / 1.126 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6485, allocations: 0 / 1.126 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6485, allocations: 0 / 1.126 GB, free: 14.14 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006936/0.6492, allocations: 0.5112 MB / 1.127 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.6493, allocations: 9.156 kB / 1.127 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.6495, allocations: 58.39 kB / 1.127 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.6499, allocations: 253 kB / 1.127 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.6499, allocations: 13.72 kB / 1.127 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.6499, allocations: 18.38 kB / 1.127 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.6502, allocations: 222.2 kB / 1.127 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6502, allocations: 1.406 kB / 1.127 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.6502, allocations: 9.312 kB / 1.128 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.6503, allocations: 4.141 kB / 1.128 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.6504, allocations: 129 kB / 1.128 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.6511, allocations: 0.6221 MB / 1.128 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.6513, allocations: 90.52 kB / 1.128 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.5e-05/0.6514, allocations: 74.78 kB / 1.128 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.6515, allocations: 34.83 kB / 1.128 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.6516, allocations: 32.58 kB / 1.128 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 2.364e-06/0.6516, allocations: 0 / 1.128 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0004555/0.652, allocations: 216 kB / 1.129 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.652, allocations: 53.19 kB / 1.129 GB, free: 12.58 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.6522, allocations: 230.8 kB / 1.129 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.6522, allocations: 31.2 kB / 1.129 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.6523, allocations: 142 kB / 1.129 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.6523, allocations: 39.59 kB / 1.129 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.6523, allocations: 26.33 kB / 1.129 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.6524, allocations: 334.5 kB / 1.129 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.6525, allocations: 56.02 kB / 1.13 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.6526, allocations: 218.8 kB / 1.13 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.6527, allocations: 122.6 kB / 1.13 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6527, allocations: 1.25 kB / 1.13 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002058/0.653, allocations: 154.9 kB / 1.13 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.653, allocations: 9.75 kB / 1.13 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.653, allocations: 2.125 kB / 1.13 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.653, allocations: 1.469 kB / 1.13 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.6531, allocations: 24.22 kB / 1.13 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.6531, allocations: 2.062 kB / 1.13 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.6532, allocations: 19.03 kB / 1.13 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.6532, allocations: 8.719 kB / 1.13 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000117/0.6533, allocations: 147.4 kB / 1.13 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000115/0.6534, allocations: 225.2 kB / 1.13 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001422/0.6536, allocations: 121.5 kB / 1.131 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.6536, allocations: 4.391 kB / 1.131 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001914/0.6538, allocations: 149.4 kB / 1.131 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/0.6538, allocations: 5.25 kB / 1.131 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.6538, allocations: 2.438 kB / 1.131 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.6538, allocations: 5.969 kB / 1.131 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.6538, allocations: 28.22 kB / 1.131 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.6538, allocations: 2.562 kB / 1.131 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.6539, allocations: 12.64 kB / 1.131 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.6539, allocations: 9.25 kB / 1.131 GB, free: 11.05 MB / 0.9948 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.654, allocations: 189 kB / 1.131 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.654, allocations: 22.11 kB / 1.131 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.6542, allocations: 163.7 kB / 1.131 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6542, allocations: 1.984 kB / 1.131 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6542, allocations: 0 / 1.131 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6543, allocations: 0.9375 kB / 1.131 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.6548, allocations: 0.5339 MB / 1.132 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.6548, allocations: 2.031 kB / 1.132 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/0.6549, allocations: 21.2 kB / 1.132 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.6549, allocations: 6.625 kB / 1.132 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.6549, allocations: 8.375 kB / 1.132 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6549, allocations: 2.047 kB / 1.132 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6549, allocations: 6.125 kB / 1.132 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.6551, allocations: 288.8 kB / 1.132 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.6552, allocations: 32.27 kB / 1.132 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.6552, allocations: 8.016 kB / 1.132 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.6553, allocations: 15.59 kB / 1.132 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.6553, allocations: 8.781 kB / 1.132 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.6553, allocations: 4.938 kB / 1.132 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001017/0.6554, allocations: 169.1 kB / 1.132 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6554, allocations: 0 / 1.132 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003761/0.6558, allocations: 103.6 kB / 1.132 GB, free: 10 MB / 0.9948 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000237/0.6561, allocations: 153.5 kB / 1.132 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.6564, allocations: 165.3 kB / 1.133 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6564, allocations: 0 / 1.133 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.6565, allocations: 61.92 kB / 1.133 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.6569, allocations: 92.25 kB / 1.133 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.6575, allocations: 458.8 kB / 1.133 GB, free: 9.469 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.6576, allocations: 149.2 kB / 1.133 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.6576, allocations: 20.89 kB / 1.133 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of SimCode: time 5.61e-07/0.6576, allocations: 4 kB / 1.133 GB, free: 9.367 MB / 0.9948 GB Notification: Performance of Templates: time 0.005476/0.6631, allocations: 3.526 MB / 1.137 GB, free: 9.031 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.063922208733857]