Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009468, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007759/0.007759, allocations: 170 kB / 16.27 MB, free: 6.328 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.391/2.391, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6884/0.6887, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1961/0.8849, allocations: 163.4 MB / 1.115 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005873/0.8908, allocations: 4.047 MB / 1.119 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.8914, allocations: 11.94 kB / 1.119 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000751/0.8922, allocations: 202.9 kB / 1.119 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.894, allocations: 0.6372 MB / 1.119 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.8953, allocations: 423.5 kB / 1.12 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003616/0.8989, allocations: 3.815 MB / 1.123 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.9016, allocations: 2.359 MB / 1.126 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.9038, allocations: 1.124 MB / 1.127 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.9049, allocations: 0.8635 MB / 1.128 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.905, allocations: 44 kB / 1.128 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.9067, allocations: 0.8964 MB / 1.129 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003399/0.907, allocations: 334.7 kB / 1.129 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.9077, allocations: 0.604 MB / 1.13 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.9094, allocations: 1.581 MB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9094, allocations: 3.938 kB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9094, allocations: 0 / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.9095, allocations: 0 / 1.131 GB, free: 10.43 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002467/0.9119, allocations: 1.471 MB / 1.133 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.912, allocations: 8.031 kB / 1.133 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/0.9128, allocations: 206.3 kB / 1.133 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.9141, allocations: 0.8773 MB / 1.134 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.9141, allocations: 49.31 kB / 1.134 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.9142, allocations: 60 kB / 1.134 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.9158, allocations: 0.9948 MB / 1.135 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.9158, allocations: 7.938 kB / 1.135 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.9159, allocations: 20 kB / 1.135 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.9159, allocations: 19.98 kB / 1.135 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.9172, allocations: 0.8116 MB / 1.136 GB, free: 5.719 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.004568/0.9218, allocations: 4.8 MB / 1.14 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.9243, allocations: 4.029 MB / 1.144 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.9248, allocations: 358.9 kB / 1.144 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.9251, allocations: 194.5 kB / 1.145 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005392/0.9256, allocations: 341 kB / 1.145 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003258/0.926, allocations: 27.69 kB / 1.145 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.926, allocations: 0 / 1.145 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.005276/0.9312, allocations: 1.697 MB / 1.147 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.9313, allocations: 81.11 kB / 1.147 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.9328, allocations: 1.196 MB / 1.148 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.9328, allocations: 33.7 kB / 1.148 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.9333, allocations: 0.516 MB / 1.148 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-05/0.9334, allocations: 122.3 kB / 1.149 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.9335, allocations: 45.7 kB / 1.149 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9336, allocations: 329.9 kB / 1.149 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.934, allocations: 232.9 kB / 1.149 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.9346, allocations: 0.5681 MB / 1.15 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009459/0.9356, allocations: 0.6893 MB / 1.15 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.9356, allocations: 4 kB / 1.15 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002466/0.9381, allocations: 1.158 MB / 1.152 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.9383, allocations: 271 kB / 1.152 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.9383, allocations: 11.98 kB / 1.152 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.9399, allocations: 462.9 kB / 1.152 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.9402, allocations: 75.83 kB / 1.152 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.9417, allocations: 1.131 MB / 1.153 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009551/0.9426, allocations: 83.91 kB / 1.153 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.9427, allocations: 28.27 kB / 1.153 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.9427, allocations: 4 kB / 1.154 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001539/0.9443, allocations: 0.8181 MB / 1.154 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.9443, allocations: 4 kB / 1.154 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/0.9449, allocations: 244.7 kB / 1.155 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.9452, allocations: 75.81 kB / 1.155 GB, free: 480 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/0.9491, allocations: 3.111 MB / 1.158 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/0.95, allocations: 95.81 kB / 1.158 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.9501, allocations: 24 kB / 1.158 GB, free: 13.11 MB / 0.92 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006118/0.9507, allocations: 477.4 kB / 1.158 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.9509, allocations: 110.7 kB / 1.158 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.9524, allocations: 0.8282 MB / 1.159 GB, free: 11.69 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.9524, allocations: 7.938 kB / 1.159 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9524, allocations: 4 kB / 1.159 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9524, allocations: 0 / 1.159 GB, free: 11.68 MB / 0.92 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 postOpt removeSimpleEquations (simulation): time 0.00289/0.9553, allocations: 2.164 MB / 1.161 GB, free: 9.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.9553, allocations: 4 kB / 1.161 GB, free: 9.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.9556, allocations: 47.89 kB / 1.161 GB, free: 9.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/0.9561, allocations: 228.9 kB / 1.162 GB, free: 9.094 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.9562, allocations: 24.09 kB / 1.162 GB, free: 9.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.9572, allocations: 0.9422 MB / 1.162 GB, free: 8.102 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9572, allocations: 4 kB / 1.162 GB, free: 8.098 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.9586, allocations: 0.8828 MB / 1.163 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.959, allocations: 239.7 kB / 1.164 GB, free: 6.922 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.9591, allocations: 11.94 kB / 1.164 GB, free: 6.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.9598, allocations: 75.83 kB / 1.164 GB, free: 6.836 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.9599, allocations: 27.95 kB / 1.164 GB, free: 6.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.96, allocations: 12 kB / 1.164 GB, free: 6.797 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001004/0.961, allocations: 0.8444 MB / 1.165 GB, free: 5.945 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.961, allocations: 0 / 1.165 GB, free: 5.945 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001343/0.9623, allocations: 0.5031 MB / 1.165 GB, free: 5.441 MB / 0.92 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 (22): * Single equations (assignments): 19 * 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 {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004203/0.9627, allocations: 183 kB / 1.165 GB, free: 5.262 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002525/0.9653, allocations: 1.307 MB / 1.166 GB, free: 3.918 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9653, allocations: 0 / 1.166 GB, free: 3.918 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006457/0.966, allocations: 329.9 kB / 1.167 GB, free: 3.598 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/0.9697, allocations: 0.6488 MB / 1.167 GB, free: 2.953 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.9728, allocations: 2.312 MB / 1.17 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.9736, allocations: 1.213 MB / 1.171 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001064/0.9746, allocations: 368.6 kB / 1.171 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.9748, allocations: 71.44 kB / 1.171 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.9748, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of Templates: time 0.0347/1.01, allocations: 21.34 MB / 1.192 GB, free: 9.816 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches