Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_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_10_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.001028/0.001028, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00112/0.00112, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.3 MB / 240 MB, free: 5.414 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.691/2.691, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004525, allocations: 12 kB / 0.8722 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8906, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.2309/1.122, allocations: 152.4 MB / 1.171 GB, free: 7.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005661/1.127, allocations: 3.786 MB / 1.175 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/1.128, allocations: 11.94 kB / 1.175 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/1.129, allocations: 162.9 kB / 1.175 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/1.13, allocations: 0.4898 MB / 1.176 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/1.132, allocations: 414.5 kB / 1.176 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003612/1.135, allocations: 3.264 MB / 1.179 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/1.138, allocations: 2.297 MB / 1.181 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/1.141, allocations: 1.062 MB / 1.182 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/1.142, allocations: 0.8404 MB / 1.183 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/1.142, allocations: 48 kB / 1.183 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/1.144, allocations: 0.6042 MB / 1.184 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003972/1.144, allocations: 322.8 kB / 1.184 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004841/1.145, allocations: 249.1 kB / 1.184 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/1.146, allocations: 1.185 MB / 1.186 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.146, allocations: 3.938 kB / 1.186 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.777e-06/1.146, allocations: 0 / 1.186 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.219e-05/1.146, allocations: 3.938 kB / 1.186 GB, free: 8.41 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002652/1.149, allocations: 1.518 MB / 1.187 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.149, allocations: 12.02 kB / 1.187 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008107/1.15, allocations: 202.4 kB / 1.187 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/1.151, allocations: 0.868 MB / 1.188 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/1.151, allocations: 53.27 kB / 1.188 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.151, allocations: 60 kB / 1.188 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/1.153, allocations: 0.987 MB / 1.189 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/1.153, allocations: 7.938 kB / 1.189 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/1.153, allocations: 23.98 kB / 1.189 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/1.153, allocations: 19.94 kB / 1.189 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/1.154, allocations: 0.8077 MB / 1.19 GB, free: 3.664 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.004528/1.159, allocations: 4.796 MB / 1.195 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/1.162, allocations: 4.045 MB / 1.199 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/1.163, allocations: 357.2 kB / 1.199 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/1.163, allocations: 194.5 kB / 1.199 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/1.164, allocations: 337.7 kB / 1.2 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005856/1.164, allocations: 27.69 kB / 1.2 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 1.953e-06/1.164, allocations: 0 / 1.2 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.005046/1.169, allocations: 1.68 MB / 1.201 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.169, allocations: 93.05 kB / 1.201 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/1.171, allocations: 1.181 MB / 1.202 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/1.171, allocations: 37.7 kB / 1.202 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/1.171, allocations: 0.516 MB / 1.203 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.172, allocations: 126.2 kB / 1.203 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/1.172, allocations: 12 kB / 1.203 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.172, allocations: 326 kB / 1.203 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/1.172, allocations: 209 kB / 1.204 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/1.173, allocations: 0.5332 MB / 1.204 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/1.173, allocations: 318.5 kB / 1.204 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.173, allocations: 4 kB / 1.204 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002286/1.176, allocations: 1.072 MB / 1.206 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002177/1.176, allocations: 281.2 kB / 1.206 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.176, allocations: 4 kB / 1.206 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/1.177, allocations: 446.7 kB / 1.206 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/1.177, allocations: 71.81 kB / 1.206 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/1.179, allocations: 1.135 MB / 1.207 GB, free: 364 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/1.18, allocations: 95.8 kB / 1.207 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/1.18, allocations: 24 kB / 1.207 GB, free: 244 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.18, allocations: 4 kB / 1.207 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/1.181, allocations: 0.802 MB / 1.208 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/1.181, allocations: 8 kB / 1.208 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/1.182, allocations: 257.7 kB / 1.209 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/1.182, allocations: 71.83 kB / 1.209 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/1.186, allocations: 3.159 MB / 1.212 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/1.187, allocations: 99.8 kB / 1.212 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/1.187, allocations: 24 kB / 1.212 GB, free: 11.68 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007909/1.188, allocations: 480.7 kB / 1.212 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.188, allocations: 110.6 kB / 1.212 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/1.19, allocations: 0.8242 MB / 1.213 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.19, allocations: 7.938 kB / 1.213 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.19, allocations: 4 kB / 1.213 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/1.19, allocations: 0 / 1.213 GB, free: 10.23 MB / 0.9669 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.00319/1.193, allocations: 2.168 MB / 1.215 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.193, allocations: 4 kB / 1.215 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/1.193, allocations: 43.91 kB / 1.215 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/1.194, allocations: 248.1 kB / 1.216 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/1.194, allocations: 8 kB / 1.216 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009687/1.195, allocations: 0.9399 MB / 1.217 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.195, allocations: 4 kB / 1.217 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/1.196, allocations: 0.8855 MB / 1.217 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/1.197, allocations: 235.7 kB / 1.218 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/1.197, allocations: 11.98 kB / 1.218 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/1.198, allocations: 75.77 kB / 1.218 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.198, allocations: 36.02 kB / 1.218 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/1.198, allocations: 27.86 kB / 1.218 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001297/1.199, allocations: 0.8289 MB / 1.219 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3e-07/1.199, allocations: 0 / 1.219 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001635/1.201, allocations: 0.5071 MB / 1.219 GB, free: 3.992 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004976/1.201, allocations: 176.9 kB / 1.219 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00277/1.204, allocations: 1.287 MB / 1.22 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.204, allocations: 0 / 1.22 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006364/1.205, allocations: 320.8 kB / 1.221 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/1.208, allocations: 0.664 MB / 1.221 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/1.212, allocations: 2.221 MB / 1.224 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009069/1.213, allocations: 1.213 MB / 1.225 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001111/1.214, allocations: 328.6 kB / 1.225 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/1.214, allocations: 71.44 kB / 1.225 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of SimCode: time 1.222e-06/1.214, allocations: 0 / 1.225 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.03785/1.252, allocations: 20.8 MB / 1.245 GB, free: 9.035 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches