Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001407/0.001407, allocations: 112.5 kB / 16.42 MB, free: 6.504 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.001526/0.001526, allocations: 187.9 kB / 17.34 MB, free: 5.738 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.285/1.285, 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 11.0.1-master/package.mo): time 2.461/2.461, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6453/0.6466, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1569/0.8036, allocations: 161.6 MB / 1.366 GB, free: 11.4 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002911/0.8065, allocations: 1.757 MB / 1.368 GB, free: 9.641 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.8069, allocations: 11.94 kB / 1.368 GB, free: 9.629 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.8075, allocations: 162.9 kB / 1.368 GB, free: 9.469 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.8087, allocations: 0.525 MB / 1.369 GB, free: 8.941 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.8098, allocations: 393.9 kB / 1.369 GB, free: 8.562 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.8125, allocations: 2.524 MB / 1.372 GB, free: 6.031 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.8137, allocations: 0.9372 MB / 1.372 GB, free: 5.078 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.8153, allocations: 1.036 MB / 1.373 GB, free: 4.039 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.8164, allocations: 0.7078 MB / 1.374 GB, free: 3.328 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.8166, allocations: 56 kB / 1.374 GB, free: 3.273 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.8179, allocations: 0.7367 MB / 1.375 GB, free: 2.535 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.8183, allocations: 310.9 kB / 1.375 GB, free: 2.23 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006703/0.819, allocations: 0.544 MB / 1.376 GB, free: 1.684 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.8205, allocations: 1.388 MB / 1.377 GB, free: 300 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.8205, allocations: 0 / 1.377 GB, free: 300 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8205, allocations: 0 / 1.377 GB, free: 300 kB / 1.092 GB Notification: Performance of Transformations before backend: time 3.159e-05/0.8206, allocations: 3.938 kB / 1.377 GB, free: 296 kB / 1.092 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.002277/0.8228, allocations: 1.447 MB / 1.378 GB, free: 14.78 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.8229, allocations: 8.031 kB / 1.379 GB, free: 14.77 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007844/0.8237, allocations: 190.5 kB / 1.379 GB, free: 14.59 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.825, allocations: 0.8489 MB / 1.38 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.8251, allocations: 45 kB / 1.38 GB, free: 13.64 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.8252, allocations: 56 kB / 1.38 GB, free: 13.58 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.8263, allocations: 0.7965 MB / 1.38 GB, free: 12.71 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.8263, allocations: 7.938 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.8264, allocations: 20 kB / 1.38 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.8264, allocations: 19.98 kB / 1.38 GB, free: 12.66 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009089/0.8273, allocations: 0.5383 MB / 1.381 GB, free: 12.12 MB / 1.107 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.003817/0.8312, allocations: 4.595 MB / 1.385 GB, free: 7.148 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007106/0.8319, allocations: 422.2 kB / 1.386 GB, free: 6.727 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.8323, allocations: 241.2 kB / 1.386 GB, free: 6.488 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.8326, allocations: 194.2 kB / 1.386 GB, free: 6.262 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004657/0.833, allocations: 285.6 kB / 1.387 GB, free: 5.965 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.833, allocations: 0 / 1.387 GB, free: 5.965 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001327/0.8344, allocations: 0.6333 MB / 1.387 GB, free: 5.324 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.8344, allocations: 85.11 kB / 1.387 GB, free: 5.223 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.8358, allocations: 1.114 MB / 1.388 GB, free: 4.09 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.8358, allocations: 33.7 kB / 1.388 GB, free: 4.051 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.8362, allocations: 0.4923 MB / 1.389 GB, free: 3.555 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.8363, allocations: 110.4 kB / 1.389 GB, free: 3.445 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.8365, allocations: 106 kB / 1.389 GB, free: 3.336 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.8366, allocations: 333.9 kB / 1.389 GB, free: 3.004 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.8369, allocations: 210.4 kB / 1.39 GB, free: 2.793 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.8375, allocations: 0.5174 MB / 1.39 GB, free: 2.145 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008214/0.8383, allocations: 0.6275 MB / 1.391 GB, free: 1.438 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.8383, allocations: 4 kB / 1.391 GB, free: 1.434 MB / 1.107 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001131/0.8395, allocations: 0.7238 MB / 1.391 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.8395, allocations: 41.69 kB / 1.391 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8395, allocations: 4.656 kB / 1.391 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.8396, allocations: 12.22 kB / 1.391 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.84, allocations: 103.8 kB / 1.392 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.84, allocations: 19.86 kB / 1.392 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.8406, allocations: 71.5 kB / 1.392 GB, free: 452 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.8406, allocations: 23.98 kB / 1.392 GB, free: 428 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006468/0.8413, allocations: 0.5005 MB / 1.392 GB, free: 15.91 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005159/0.8418, allocations: 497.8 kB / 1.393 GB, free: 15.29 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007263/0.8425, allocations: 0.5567 MB / 1.393 GB, free: 14.65 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.8426, allocations: 4 kB / 1.393 GB, free: 14.65 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001018/0.8436, allocations: 0.6431 MB / 1.394 GB, free: 13.99 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.8436, allocations: 37.7 kB / 1.394 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8436, allocations: 4 kB / 1.394 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.8436, allocations: 8 kB / 1.394 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.844, allocations: 104.4 kB / 1.394 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.844, allocations: 11.98 kB / 1.394 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.8446, allocations: 64.12 kB / 1.394 GB, free: 13.76 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.8447, allocations: 27.94 kB / 1.394 GB, free: 13.73 MB / 1.123 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.0001514/0.8448, allocations: 216.1 kB / 1.394 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.8449, allocations: 102.8 kB / 1.394 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008627/0.8458, allocations: 498.9 kB / 1.395 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8458, allocations: 3.938 kB / 1.395 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.8458, allocations: 4 kB / 1.395 GB, free: 12.91 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.8461, allocations: 207.9 kB / 1.395 GB, free: 12.69 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.8462, allocations: 15.92 kB / 1.395 GB, free: 12.67 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.8466, allocations: 19.98 kB / 1.395 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.8467, allocations: 27.97 kB / 1.395 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008651/0.8475, allocations: 0.5703 MB / 1.396 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008044/0.8483, allocations: 0.7009 MB / 1.396 GB, free: 11.33 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002936/0.8486, allocations: 175.8 kB / 1.397 GB, free: 11.16 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009475/0.8496, allocations: 0.7914 MB / 1.397 GB, free: 10.36 MB / 1.123 GB Notification: Performance of Backend: time 4.01e-07/0.8496, allocations: 0 / 1.397 GB, free: 10.36 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.8516, allocations: 0.8953 MB / 1.398 GB, free: 9.441 MB / 1.123 GB Notification: Performance of SimCode: time 0.003568/0.8552, allocations: 2.45 MB / 1.401 GB, free: 6.941 MB / 1.123 GB Notification: Performance of Templates: time 0.02924/0.8845, allocations: 19.23 MB / 1.419 GB, free: 3.895 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches