Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009918/0.0009918, allocations: 91.84 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.009304/0.009305, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.303/2.303, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/0.6685, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1665/0.835, allocations: 157.3 MB / 1.109 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.8381, allocations: 1.758 MB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.8385, allocations: 11.88 kB / 1.11 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.8391, allocations: 131.2 kB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.8404, allocations: 0.4942 MB / 1.111 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.8416, allocations: 345.9 kB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003537/0.8451, allocations: 3.512 MB / 1.115 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/0.8481, allocations: 2.222 MB / 1.117 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.8502, allocations: 0.8986 MB / 1.118 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.8515, allocations: 0.7116 MB / 1.118 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.8517, allocations: 36 kB / 1.119 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.8535, allocations: 0.8028 MB / 1.119 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004126/0.854, allocations: 274.9 kB / 1.12 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008189/0.8548, allocations: 0.5262 MB / 1.12 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.8567, allocations: 1.378 MB / 1.121 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.8567, allocations: 4 kB / 1.121 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.727e-06/0.8567, allocations: 3.938 kB / 1.121 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.8567, allocations: 7.938 kB / 1.121 GB, free: 4.336 MB / 0.8731 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.002405/0.8592, allocations: 1.292 MB / 1.123 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8592, allocations: 8.031 kB / 1.123 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008452/0.86, allocations: 182.5 kB / 1.123 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.8614, allocations: 0.8099 MB / 1.124 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.8614, allocations: 45 kB / 1.124 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.993e-05/0.8615, allocations: 64 kB / 1.124 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.8629, allocations: 0.8161 MB / 1.125 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.8629, allocations: 11.94 kB / 1.125 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.863, allocations: 20 kB / 1.125 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.863, allocations: 16 kB / 1.125 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.8641, allocations: 0.5735 MB / 1.125 GB, free: 316 kB / 0.8731 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.004467/0.8686, allocations: 4.258 MB / 1.129 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.8693, allocations: 456.3 kB / 1.13 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.8699, allocations: 346.8 kB / 1.13 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/0.8702, allocations: 198.2 kB / 1.13 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005529/0.8708, allocations: 319.1 kB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002589/0.871, allocations: 43.52 kB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.886e-06/0.8711, allocations: 0 / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.005244/0.8763, allocations: 1.699 MB / 1.132 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.8764, allocations: 85.05 kB / 1.132 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.8779, allocations: 1.147 MB / 1.133 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.878, allocations: 37.7 kB / 1.134 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.8784, allocations: 488.4 kB / 1.134 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.8785, allocations: 118.4 kB / 1.134 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.8786, allocations: 49.69 kB / 1.134 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8787, allocations: 326 kB / 1.134 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.8792, allocations: 228.9 kB / 1.135 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/0.8798, allocations: 0.554 MB / 1.135 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/0.8808, allocations: 0.6841 MB / 1.136 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.8808, allocations: 4 kB / 1.136 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002327/0.8832, allocations: 1.123 MB / 1.137 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.8834, allocations: 266.9 kB / 1.137 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.8834, allocations: 8 kB / 1.137 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.8847, allocations: 377.2 kB / 1.138 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.8852, allocations: 95.86 kB / 1.138 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.8863, allocations: 1.046 MB / 1.139 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009216/0.8872, allocations: 83.81 kB / 1.139 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.8873, allocations: 24.11 kB / 1.139 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.8873, allocations: 7.938 kB / 1.139 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001495/0.8888, allocations: 0.7864 MB / 1.14 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.8888, allocations: 4 kB / 1.14 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/0.8894, allocations: 250 kB / 1.14 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.8898, allocations: 91.81 kB / 1.14 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/0.8935, allocations: 3.036 MB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009511/0.8945, allocations: 71.98 kB / 1.143 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.8945, allocations: 31.98 kB / 1.143 GB, free: 13.14 MB / 0.9044 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 {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0006273/0.8952, allocations: 462.1 kB / 1.143 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.8953, allocations: 106.7 kB / 1.144 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.8968, allocations: 0.7889 MB / 1.144 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.8968, allocations: 3.938 kB / 1.144 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.8968, allocations: 4 kB / 1.144 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.8969, allocations: 7.938 kB / 1.144 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.8995, allocations: 1.738 MB / 1.146 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.8995, allocations: 4 kB / 1.146 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.8998, allocations: 59.88 kB / 1.146 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.9003, allocations: 242.3 kB / 1.146 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.9003, allocations: 12 kB / 1.146 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009221/0.9013, allocations: 1.008 MB / 1.147 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9013, allocations: 0 / 1.147 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.9026, allocations: 0.9088 MB / 1.148 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.903, allocations: 231.8 kB / 1.148 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.9031, allocations: 8 kB / 1.148 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.9037, allocations: 59.83 kB / 1.148 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.9038, allocations: 31.91 kB / 1.149 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.9039, allocations: 8 kB / 1.149 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001064/0.9049, allocations: 0.8197 MB / 1.149 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9049, allocations: 0 / 1.149 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001308/0.9062, allocations: 467.5 kB / 1.15 GB, free: 6.016 MB / 0.9044 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 {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/0.9067, allocations: 177.6 kB / 1.15 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.9089, allocations: 1.158 MB / 1.151 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9089, allocations: 0 / 1.151 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.9095, allocations: 259.1 kB / 1.151 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/0.9132, allocations: 0.6247 MB / 1.152 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.9164, allocations: 2.078 MB / 1.154 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007852/0.9172, allocations: 1.193 MB / 1.155 GB, free: 428 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009685/0.9182, allocations: 312.4 kB / 1.155 GB, free: 112 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.9184, allocations: 67.42 kB / 1.155 GB, free: 48 kB / 0.9044 GB Notification: Performance of SimCode: time 9.42e-07/0.9184, allocations: 0 / 1.155 GB, free: 48 kB / 0.9044 GB Notification: Performance of Templates: time 0.03606/0.9544, allocations: 21.23 MB / 1.176 GB, free: 11.06 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches