Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001621, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001439/0.001439, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 71.83 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8137/0.8151, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1713/0.9864, allocations: 161.6 MB / 1.325 GB, free: 1.648 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.9894, allocations: 1.755 MB / 1.327 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.9898, allocations: 7.938 kB / 1.327 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.9905, allocations: 170.9 kB / 1.327 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.9919, allocations: 0.5407 MB / 1.328 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.993, allocations: 408.2 kB / 1.328 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002481/0.9955, allocations: 2.529 MB / 1.33 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.9966, allocations: 0.9255 MB / 1.331 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.9982, allocations: 1.043 MB / 1.332 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.999, allocations: 0.7117 MB / 1.333 GB, free: 9.543 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.138e-05/0.9991, allocations: 59.94 kB / 1.333 GB, free: 9.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/1, allocations: 0.7367 MB / 1.334 GB, free: 8.746 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/1.001, allocations: 310.9 kB / 1.334 GB, free: 8.441 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005452/1.001, allocations: 0.5401 MB / 1.335 GB, free: 7.898 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/1.003, allocations: 1.4 MB / 1.336 GB, free: 6.496 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.003, allocations: 0 / 1.336 GB, free: 6.496 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/1.003, allocations: 0 / 1.336 GB, free: 6.496 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.003, allocations: 0 / 1.336 GB, free: 6.496 MB / 1.061 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.002156/1.005, allocations: 1.443 MB / 1.337 GB, free: 4.988 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.005, allocations: 12.03 kB / 1.337 GB, free: 4.977 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007281/1.006, allocations: 186.5 kB / 1.338 GB, free: 4.793 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/1.007, allocations: 0.8528 MB / 1.338 GB, free: 3.883 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/1.007, allocations: 45 kB / 1.338 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/1.007, allocations: 56 kB / 1.339 GB, free: 3.785 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/1.008, allocations: 0.7927 MB / 1.339 GB, free: 2.918 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.008, allocations: 3.938 kB / 1.339 GB, free: 2.914 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/1.008, allocations: 24 kB / 1.339 GB, free: 2.891 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/1.008, allocations: 12 kB / 1.339 GB, free: 2.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/1.009, allocations: 0.5344 MB / 1.34 GB, free: 2.344 MB / 1.061 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.003983/1.013, allocations: 4.595 MB / 1.344 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/1.014, allocations: 410.2 kB / 1.345 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/1.014, allocations: 252.7 kB / 1.345 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/1.015, allocations: 194.2 kB / 1.345 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/1.015, allocations: 286.2 kB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/1.015, allocations: 0 / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.001316/1.016, allocations: 0.6333 MB / 1.346 GB, free: 11.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/1.017, allocations: 85.05 kB / 1.346 GB, free: 11.44 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.018, allocations: 1.118 MB / 1.347 GB, free: 10.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/1.018, allocations: 33.7 kB / 1.347 GB, free: 10.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/1.018, allocations: 496.1 kB / 1.348 GB, free: 9.773 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/1.018, allocations: 110.5 kB / 1.348 GB, free: 9.664 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/1.018, allocations: 106 kB / 1.348 GB, free: 9.555 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.019, allocations: 329.9 kB / 1.348 GB, free: 9.227 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/1.019, allocations: 222.3 kB / 1.348 GB, free: 9.004 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/1.019, allocations: 0.5329 MB / 1.349 GB, free: 8.34 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/1.02, allocations: 0.6277 MB / 1.35 GB, free: 7.633 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.02, allocations: 4 kB / 1.35 GB, free: 7.629 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001098/1.021, allocations: 0.7239 MB / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/1.021, allocations: 34.36 kB / 1.35 GB, free: 6.852 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.022, allocations: 4 kB / 1.35 GB, free: 6.848 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.022, allocations: 12 kB / 1.35 GB, free: 6.836 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/1.022, allocations: 111.8 kB / 1.35 GB, free: 6.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.022, allocations: 11.94 kB / 1.35 GB, free: 6.715 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/1.023, allocations: 71.48 kB / 1.351 GB, free: 6.645 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/1.023, allocations: 27.98 kB / 1.351 GB, free: 6.617 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006303/1.023, allocations: 0.5044 MB / 1.351 GB, free: 6.109 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005079/1.024, allocations: 489.9 kB / 1.352 GB, free: 5.496 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006887/1.024, allocations: 0.5488 MB / 1.352 GB, free: 4.867 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/1.024, allocations: 4.219 kB / 1.352 GB, free: 4.863 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009569/1.025, allocations: 0.6441 MB / 1.353 GB, free: 4.207 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.025, allocations: 44.12 kB / 1.353 GB, free: 4.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.025, allocations: 8 kB / 1.353 GB, free: 4.152 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/1.025, allocations: 8.656 kB / 1.353 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/1.026, allocations: 107.8 kB / 1.353 GB, free: 4.039 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/1.026, allocations: 11.94 kB / 1.353 GB, free: 4.027 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/1.026, allocations: 56.12 kB / 1.353 GB, free: 3.973 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/1.026, allocations: 27.98 kB / 1.353 GB, free: 3.945 MB / 1.076 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.027, allocations: 220 kB / 1.353 GB, free: 3.723 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.027, allocations: 102.8 kB / 1.353 GB, free: 3.621 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008181/1.028, allocations: 494.9 kB / 1.354 GB, free: 3.129 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.028, allocations: 0 / 1.354 GB, free: 3.129 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.028, allocations: 4 kB / 1.354 GB, free: 3.125 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.028, allocations: 0 / 1.354 GB, free: 3.125 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/1.03, allocations: 1.386 MB / 1.355 GB, free: 1.664 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.03, allocations: 0 / 1.355 GB, free: 1.664 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/1.03, allocations: 67.89 kB / 1.355 GB, free: 1.598 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/1.03, allocations: 12.16 kB / 1.355 GB, free: 1.586 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/1.03, allocations: 4 kB / 1.355 GB, free: 1.582 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.03, allocations: 3.938 kB / 1.355 GB, free: 1.578 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.03, allocations: 4 kB / 1.355 GB, free: 1.574 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/1.031, allocations: 0.6066 MB / 1.356 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/1.031, allocations: 216 kB / 1.356 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.031, allocations: 12 kB / 1.356 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/1.032, allocations: 15.98 kB / 1.356 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/1.032, allocations: 43.94 kB / 1.356 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/1.032, allocations: 8 kB / 1.356 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009275/1.033, allocations: 0.7953 MB / 1.357 GB, free: 15.82 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.033, allocations: 0 / 1.357 GB, free: 15.82 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001052/1.034, allocations: 403.4 kB / 1.357 GB, free: 15.42 MB / 1.092 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003897/1.034, allocations: 182.8 kB / 1.357 GB, free: 15.24 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001291/1.035, allocations: 0.8166 MB / 1.358 GB, free: 14.4 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.035, allocations: 0 / 1.358 GB, free: 14.4 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/1.036, allocations: 191.7 kB / 1.358 GB, free: 14.21 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.037, allocations: 463.4 kB / 1.359 GB, free: 13.76 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/1.04, allocations: 1.79 MB / 1.361 GB, free: 11.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/1.041, allocations: 1.176 MB / 1.362 GB, free: 10.71 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/1.041, allocations: 71.44 kB / 1.362 GB, free: 10.64 MB / 1.092 GB Notification: Performance of SimCode: time 6.01e-07/1.041, allocations: 4 kB / 1.362 GB, free: 10.63 MB / 1.092 GB Notification: Performance of Templates: time 0.02272/1.063, allocations: 15.95 MB / 1.377 GB, free: 10.8 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches