Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009329/0.0009333, allocations: 168.7 kB / 15.95 MB, free: 204 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.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.434 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.757/2.757, allocations: 437.7 MB / 0.7117 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003893, allocations: 15.92 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8464/0.8468, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1863/1.033, allocations: 152.4 MB / 1.171 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004522/1.038, allocations: 2.068 MB / 1.173 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/1.038, allocations: 11.94 kB / 1.173 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007434/1.039, allocations: 162.9 kB / 1.173 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/1.041, allocations: 0.4937 MB / 1.174 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/1.042, allocations: 375 kB / 1.174 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003393/1.045, allocations: 3.252 MB / 1.177 GB, free: 0.832 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0029/1.048, allocations: 2.29 MB / 1.18 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/1.051, allocations: 1.054 MB / 1.181 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/1.052, allocations: 0.8482 MB / 1.182 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/1.052, allocations: 52 kB / 1.182 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/1.053, allocations: 0.6042 MB / 1.182 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/1.054, allocations: 322.8 kB / 1.182 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003661/1.054, allocations: 249.1 kB / 1.183 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/1.055, allocations: 1.177 MB / 1.184 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.055, allocations: 4 kB / 1.184 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/1.055, allocations: 0 / 1.184 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.382e-05/1.055, allocations: 0 / 1.184 GB, free: 10.22 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00252/1.058, allocations: 1.51 MB / 1.185 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.058, allocations: 16.02 kB / 1.185 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008203/1.059, allocations: 202.3 kB / 1.186 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/1.06, allocations: 0.8678 MB / 1.186 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/1.06, allocations: 49.31 kB / 1.186 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/1.06, allocations: 63.95 kB / 1.187 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/1.062, allocations: 0.9948 MB / 1.187 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/1.062, allocations: 3.984 kB / 1.188 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/1.062, allocations: 24 kB / 1.188 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/1.062, allocations: 12 kB / 1.188 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/1.063, allocations: 0.8077 MB / 1.188 GB, free: 5.477 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.004747/1.068, allocations: 4.808 MB / 1.193 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/1.071, allocations: 4.035 MB / 1.197 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/1.071, allocations: 349.2 kB / 1.197 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/1.072, allocations: 194.5 kB / 1.197 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005673/1.072, allocations: 322.6 kB / 1.198 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000414/1.073, allocations: 27.69 kB / 1.198 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.685e-06/1.073, allocations: 0 / 1.198 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.004316/1.077, allocations: 1.61 MB / 1.199 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/1.077, allocations: 81.11 kB / 1.199 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/1.079, allocations: 1.18 MB / 1.201 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/1.079, allocations: 33.7 kB / 1.201 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/1.079, allocations: 0.5161 MB / 1.201 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/1.079, allocations: 126.2 kB / 1.201 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/1.079, allocations: 11.94 kB / 1.201 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.079, allocations: 329.9 kB / 1.202 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/1.08, allocations: 205 kB / 1.202 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/1.08, allocations: 0.5371 MB / 1.202 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/1.081, allocations: 322.7 kB / 1.203 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.081, allocations: 0 / 1.203 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00203/1.083, allocations: 1.049 MB / 1.204 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/1.083, allocations: 276.2 kB / 1.204 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.083, allocations: 8 kB / 1.204 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/1.084, allocations: 326 kB / 1.204 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/1.085, allocations: 103.9 kB / 1.204 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009744/1.086, allocations: 1.016 MB / 1.205 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/1.087, allocations: 95.86 kB / 1.205 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/1.087, allocations: 24 kB / 1.205 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/1.087, allocations: 4 kB / 1.205 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001349/1.088, allocations: 0.7825 MB / 1.206 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.088, allocations: 4.625 kB / 1.206 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005102/1.089, allocations: 238.5 kB / 1.206 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/1.089, allocations: 111.8 kB / 1.207 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/1.092, allocations: 2.925 MB / 1.209 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009432/1.093, allocations: 99.8 kB / 1.209 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/1.093, allocations: 24 kB / 1.21 GB, free: 14.05 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 (38): * Single equations (assignments): 36 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006496/1.094, allocations: 488.5 kB / 1.21 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/1.094, allocations: 106.7 kB / 1.21 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/1.095, allocations: 0.7852 MB / 1.211 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.095, allocations: 11.98 kB / 1.211 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.095, allocations: 192 / 1.211 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.095, allocations: 0 / 1.211 GB, free: 12.64 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.002799/1.098, allocations: 2.144 MB / 1.213 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.098, allocations: 0 / 1.213 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/1.099, allocations: 79.88 kB / 1.213 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/1.099, allocations: 184.7 kB / 1.213 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.099, allocations: 8 kB / 1.213 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007301/1.1, allocations: 0.8566 MB / 1.214 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.1, allocations: 4.031 kB / 1.214 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.101, allocations: 0.8538 MB / 1.215 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/1.101, allocations: 231.7 kB / 1.215 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.101, allocations: 8 kB / 1.215 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/1.102, allocations: 83.75 kB / 1.215 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.102, allocations: 39.84 kB / 1.215 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/1.102, allocations: 12 kB / 1.215 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001232/1.103, allocations: 0.821 MB / 1.216 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.103, allocations: 0 / 1.216 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001775/1.105, allocations: 0.5109 MB / 1.217 GB, free: 6.578 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 (25): * Single equations (assignments): 22 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006327/1.106, allocations: 201.7 kB / 1.217 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002201/1.108, allocations: 1.122 MB / 1.218 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.108, allocations: 4 kB / 1.218 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004806/1.109, allocations: 252.5 kB / 1.218 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/1.112, allocations: 0.6396 MB / 1.219 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/1.115, allocations: 2.113 MB / 1.221 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009705/1.116, allocations: 1.213 MB / 1.222 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001148/1.117, allocations: 360.4 kB / 1.222 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/1.118, allocations: 71.44 kB / 1.222 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of SimCode: time 1.332e-06/1.118, allocations: 0 / 1.222 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of Templates: time 0.03775/1.155, allocations: 20.84 MB / 1.243 GB, free: 11.92 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches