Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007968/0.007969, allocations: 104 kB / 15.74 MB, free: 6.02 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.002001/0.002001, allocations: 185.1 kB / 16.67 MB, free: 5.941 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.583/2.583, allocations: 472.6 MB / 0.7453 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7945, allocations: 159.9 MB / 1.226 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1716/0.9662, allocations: 161.6 MB / 1.383 GB, free: 11.34 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.971, allocations: 3.619 MB / 1.387 GB, free: 7.711 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.9713, allocations: 15.88 kB / 1.387 GB, free: 7.695 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.9719, allocations: 162.9 kB / 1.387 GB, free: 7.535 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.9733, allocations: 0.525 MB / 1.388 GB, free: 7.008 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.9745, allocations: 433.4 kB / 1.388 GB, free: 6.59 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.9771, allocations: 2.551 MB / 1.391 GB, free: 4.035 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.9782, allocations: 0.942 MB / 1.391 GB, free: 3.086 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.9797, allocations: 1.035 MB / 1.392 GB, free: 2.047 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007839/0.9805, allocations: 0.7078 MB / 1.393 GB, free: 1.336 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.9806, allocations: 56 kB / 1.393 GB, free: 1.281 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.982, allocations: 0.7406 MB / 1.394 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.9823, allocations: 302.9 kB / 1.394 GB, free: 248 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005671/0.9828, allocations: 0.5439 MB / 1.395 GB, free: 15.7 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.9843, allocations: 1.408 MB / 1.396 GB, free: 14.29 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9844, allocations: 8 kB / 1.396 GB, free: 14.28 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9844, allocations: 0 / 1.396 GB, free: 14.28 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.9844, allocations: 0 / 1.396 GB, free: 14.28 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00217/0.9866, allocations: 1.496 MB / 1.398 GB, free: 12.71 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.9866, allocations: 8.031 kB / 1.398 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/0.9873, allocations: 191.1 kB / 1.398 GB, free: 12.52 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.9885, allocations: 0.854 MB / 1.399 GB, free: 11.61 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.9886, allocations: 52.94 kB / 1.399 GB, free: 11.56 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.9887, allocations: 56 kB / 1.399 GB, free: 11.5 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.9898, allocations: 0.7887 MB / 1.4 GB, free: 10.64 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.9899, allocations: 4 kB / 1.4 GB, free: 10.64 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.9899, allocations: 23.94 kB / 1.4 GB, free: 10.61 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.9899, allocations: 16 kB / 1.4 GB, free: 10.6 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008795/0.9908, allocations: 0.5344 MB / 1.4 GB, free: 10.06 MB / 1.123 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.003527/0.9944, allocations: 4.599 MB / 1.405 GB, free: 5.078 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.995, allocations: 414.3 kB / 1.405 GB, free: 4.664 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.9954, allocations: 248 kB / 1.405 GB, free: 4.422 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.9957, allocations: 198.2 kB / 1.405 GB, free: 4.191 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004768/0.9962, allocations: 300.8 kB / 1.406 GB, free: 3.879 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.9962, allocations: 0 / 1.406 GB, free: 3.879 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.004715/1.001, allocations: 1.642 MB / 1.407 GB, free: 2.207 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.001, allocations: 89.09 kB / 1.407 GB, free: 2.102 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/1.002, allocations: 1.114 MB / 1.408 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/1.002, allocations: 33.7 kB / 1.408 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/1.003, allocations: 496.8 kB / 1.409 GB, free: 448 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/1.003, allocations: 119 kB / 1.409 GB, free: 328 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.003, allocations: 114 kB / 1.409 GB, free: 208 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.003, allocations: 322 kB / 1.409 GB, free: 15.88 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/1.003, allocations: 218.4 kB / 1.41 GB, free: 15.66 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/1.004, allocations: 0.5174 MB / 1.41 GB, free: 15.01 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/1.005, allocations: 0.6269 MB / 1.411 GB, free: 14.3 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.005, allocations: 4 kB / 1.411 GB, free: 14.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002067/1.007, allocations: 1.049 MB / 1.412 GB, free: 13.23 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/1.007, allocations: 37.69 kB / 1.412 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.007, allocations: 4 kB / 1.412 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/1.008, allocations: 382.5 kB / 1.412 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/1.009, allocations: 59.91 kB / 1.412 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/1.01, allocations: 1.083 MB / 1.413 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/1.011, allocations: 75.58 kB / 1.413 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/1.011, allocations: 27.94 kB / 1.413 GB, free: 11.54 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007261/1.011, allocations: 0.4967 MB / 1.414 GB, free: 11.04 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005398/1.012, allocations: 494 kB / 1.414 GB, free: 10.43 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007081/1.013, allocations: 0.5647 MB / 1.415 GB, free: 9.781 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.538e-06/1.013, allocations: 0 / 1.415 GB, free: 9.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001389/1.014, allocations: 0.8421 MB / 1.416 GB, free: 8.922 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.014, allocations: 35.42 kB / 1.416 GB, free: 8.883 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.014, allocations: 4 kB / 1.416 GB, free: 8.879 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000491/1.015, allocations: 223 kB / 1.416 GB, free: 8.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/1.015, allocations: 59.84 kB / 1.416 GB, free: 8.602 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/1.018, allocations: 3.262 MB / 1.419 GB, free: 5.199 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/1.019, allocations: 71.98 kB / 1.419 GB, free: 5.129 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/1.019, allocations: 24 kB / 1.419 GB, free: 5.105 MB / 1.139 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002068/1.019, allocations: 216.1 kB / 1.42 GB, free: 4.887 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/1.019, allocations: 103.3 kB / 1.42 GB, free: 4.785 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/1.021, allocations: 0.7143 MB / 1.42 GB, free: 4.055 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.021, allocations: 4 kB / 1.42 GB, free: 4.051 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/1.021, allocations: 4 kB / 1.42 GB, free: 4.047 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/1.021, allocations: 0 / 1.42 GB, free: 4.047 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/1.023, allocations: 1.599 MB / 1.422 GB, free: 2.367 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.023, allocations: 4 kB / 1.422 GB, free: 2.363 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/1.023, allocations: 23.92 kB / 1.422 GB, free: 2.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/1.024, allocations: 246.1 kB / 1.422 GB, free: 2.098 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/1.024, allocations: 15.92 kB / 1.422 GB, free: 2.082 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009813/1.025, allocations: 1.026 MB / 1.423 GB, free: 1.031 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.025, allocations: 4 kB / 1.423 GB, free: 1.027 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/1.026, allocations: 0.8322 MB / 1.424 GB, free: 160 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/1.026, allocations: 220.4 kB / 1.424 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/1.026, allocations: 8 kB / 1.424 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/1.027, allocations: 23.97 kB / 1.424 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/1.027, allocations: 35.77 kB / 1.424 GB, free: 15.86 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/1.027, allocations: 15.98 kB / 1.424 GB, free: 15.84 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009559/1.028, allocations: 0.7916 MB / 1.425 GB, free: 15.04 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/1.028, allocations: 0 / 1.425 GB, free: 15.04 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00116/1.029, allocations: 439.5 kB / 1.426 GB, free: 14.61 MB / 1.154 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/1.029, allocations: 167.7 kB / 1.426 GB, free: 14.44 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.032, allocations: 1.209 MB / 1.427 GB, free: 13.2 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.032, allocations: 3.938 kB / 1.427 GB, free: 13.19 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/1.032, allocations: 288.1 kB / 1.427 GB, free: 12.91 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/1.034, allocations: 460.6 kB / 1.428 GB, free: 12.46 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/1.037, allocations: 1.795 MB / 1.429 GB, free: 10.62 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/1.038, allocations: 1.188 MB / 1.43 GB, free: 9.398 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007609/1.039, allocations: 311.8 kB / 1.431 GB, free: 9.09 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/1.039, allocations: 59.44 kB / 1.431 GB, free: 9.031 MB / 1.154 GB Notification: Performance of SimCode: time 5.61e-07/1.039, allocations: 0 / 1.431 GB, free: 9.031 MB / 1.154 GB Notification: Performance of Templates: time 0.03115/1.07, allocations: 19.42 MB / 1.45 GB, free: 5.789 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches