Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009371/0.0009372, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.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.582/2.582, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 12 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.6368, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.172/0.8088, allocations: 157.3 MB / 1.177 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003656/0.8125, allocations: 1.767 MB / 1.179 GB, free: 212 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004922/0.8131, allocations: 7.938 kB / 1.179 GB, free: 204 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.8137, allocations: 139.2 kB / 1.179 GB, free: 64 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.8154, allocations: 0.4898 MB / 1.18 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.8165, allocations: 359 kB / 1.18 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.8203, allocations: 3.488 MB / 1.183 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/0.8234, allocations: 2.218 MB / 1.186 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.8255, allocations: 0.9024 MB / 1.186 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.8269, allocations: 0.7155 MB / 1.187 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.8271, allocations: 32 kB / 1.187 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.8289, allocations: 0.799 MB / 1.188 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.8294, allocations: 278.9 kB / 1.188 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009689/0.8303, allocations: 0.534 MB / 1.189 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.8318, allocations: 1.017 MB / 1.19 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8318, allocations: 7.938 kB / 1.19 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8318, allocations: 4 kB / 1.19 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.602e-05/0.8319, allocations: 0 / 1.19 GB, free: 5.191 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002459/0.8343, allocations: 1.288 MB / 1.191 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.8344, allocations: 11.98 kB / 1.191 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009383/0.8353, allocations: 182.4 kB / 1.191 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.8368, allocations: 0.8061 MB / 1.192 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.828e-05/0.8369, allocations: 48.94 kB / 1.192 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.837, allocations: 56 kB / 1.192 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.8384, allocations: 0.8316 MB / 1.193 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.8384, allocations: 7.938 kB / 1.193 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.8385, allocations: 27.94 kB / 1.193 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.8385, allocations: 12 kB / 1.193 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.8395, allocations: 0.5774 MB / 1.193 GB, free: 1.148 MB / 0.9356 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.004588/0.8441, allocations: 4.239 MB / 1.198 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.8449, allocations: 462.1 kB / 1.198 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.8455, allocations: 345.1 kB / 1.198 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.8458, allocations: 190.2 kB / 1.199 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005628/0.8464, allocations: 339.6 kB / 1.199 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003334/0.8467, allocations: 39.53 kB / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.885e-06/0.8467, allocations: 0 / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.005081/0.8518, allocations: 1.59 MB / 1.2 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.8519, allocations: 85.05 kB / 1.201 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.8535, allocations: 1.151 MB / 1.202 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.8536, allocations: 33.7 kB / 1.202 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.854, allocations: 488.5 kB / 1.202 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.8541, allocations: 122.3 kB / 1.202 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.8542, allocations: 49.7 kB / 1.202 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8543, allocations: 330 kB / 1.203 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.8548, allocations: 228.9 kB / 1.203 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/0.8554, allocations: 0.5423 MB / 1.203 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009797/0.8564, allocations: 0.688 MB / 1.204 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.8564, allocations: 4 kB / 1.204 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002555/0.859, allocations: 1.119 MB / 1.205 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.8592, allocations: 278.7 kB / 1.205 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8592, allocations: 4 kB / 1.205 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.8607, allocations: 439.7 kB / 1.206 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.8612, allocations: 95.86 kB / 1.206 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.8626, allocations: 1.112 MB / 1.207 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.8637, allocations: 79.83 kB / 1.207 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.8637, allocations: 24 kB / 1.207 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.8638, allocations: 4 kB / 1.207 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001514/0.8653, allocations: 0.7907 MB / 1.208 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8653, allocations: 4 kB / 1.208 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.8659, allocations: 228.6 kB / 1.208 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.8663, allocations: 96.3 kB / 1.208 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.8702, allocations: 3.057 MB / 1.211 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.8714, allocations: 75.98 kB / 1.211 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.8715, allocations: 23.98 kB / 1.211 GB, free: 13.97 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007187/0.8722, allocations: 464.7 kB / 1.212 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.8725, allocations: 106.7 kB / 1.212 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.8741, allocations: 0.7968 MB / 1.213 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.8741, allocations: 4 kB / 1.213 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8741, allocations: 3.938 kB / 1.213 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8741, allocations: 192 / 1.213 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.877, allocations: 1.734 MB / 1.214 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.877, allocations: 0 / 1.214 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.8773, allocations: 64.14 kB / 1.214 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005512/0.8779, allocations: 278.4 kB / 1.215 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.8779, allocations: 12 kB / 1.215 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.879, allocations: 1.048 MB / 1.216 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.8791, allocations: 4.031 kB / 1.216 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.8805, allocations: 0.9011 MB / 1.217 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.8809, allocations: 227.8 kB / 1.217 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.8811, allocations: 15.92 kB / 1.217 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/0.8818, allocations: 55.84 kB / 1.217 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8819, allocations: 35.89 kB / 1.217 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.882, allocations: 16 kB / 1.217 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001203/0.8832, allocations: 0.8119 MB / 1.218 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8832, allocations: 0 / 1.218 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00147/0.8847, allocations: 471.5 kB / 1.218 GB, free: 6.758 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005266/0.8852, allocations: 171.2 kB / 1.218 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.8882, allocations: 1.283 MB / 1.22 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.8882, allocations: 0 / 1.22 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.8889, allocations: 304.1 kB / 1.22 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/0.8929, allocations: 0.6322 MB / 1.221 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.8964, allocations: 2.228 MB / 1.223 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/0.8972, allocations: 1.193 MB / 1.224 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.8974, allocations: 67.42 kB / 1.224 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of SimCode: time 9.81e-07/0.8974, allocations: 0 / 1.224 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of Templates: time 0.03052/0.928, allocations: 21.68 MB / 1.245 GB, free: 11.19 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches