Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.001573/0.001573, allocations: 111.9 kB / 16.42 MB, free: 6.512 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.001796/0.001796, allocations: 190.7 kB / 17.35 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.153/2.153, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.7068, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1839/0.8907, allocations: 161.6 MB / 1.246 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.8939, allocations: 1.757 MB / 1.248 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004153/0.8943, allocations: 14.38 kB / 1.248 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006455/0.895, allocations: 170 kB / 1.248 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.8965, allocations: 0.5454 MB / 1.249 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.8977, allocations: 395.4 kB / 1.249 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.9004, allocations: 2.538 MB / 1.252 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.9017, allocations: 0.9333 MB / 1.253 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.9034, allocations: 1.039 MB / 1.254 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.9044, allocations: 0.704 MB / 1.254 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.9046, allocations: 52 kB / 1.254 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.9061, allocations: 0.7484 MB / 1.255 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.9065, allocations: 314.9 kB / 1.255 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006531/0.9071, allocations: 0.5363 MB / 1.256 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.9086, allocations: 1.4 MB / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.9086, allocations: 0 / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9086, allocations: 0 / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.9086, allocations: 0 / 1.257 GB, free: 0.9727 MB / 0.9825 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.002103/0.9107, allocations: 1.443 MB / 1.259 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.9108, allocations: 8.031 kB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.9115, allocations: 186.5 kB / 1.259 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.9128, allocations: 0.8605 MB / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.9129, allocations: 48.94 kB / 1.26 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.913, allocations: 60 kB / 1.26 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.9141, allocations: 0.7849 MB / 1.261 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.9141, allocations: 7.938 kB / 1.261 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.9142, allocations: 24 kB / 1.261 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.9142, allocations: 16 kB / 1.261 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.9151, allocations: 0.5344 MB / 1.261 GB, free: 12.81 MB / 0.9981 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.003665/0.9188, allocations: 4.591 MB / 1.266 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.9195, allocations: 418.8 kB / 1.266 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.9198, allocations: 247 kB / 1.266 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.9201, allocations: 198.2 kB / 1.267 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.9206, allocations: 293.6 kB / 1.267 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.9206, allocations: 0 / 1.267 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001291/0.9219, allocations: 0.6264 MB / 1.267 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.922, allocations: 85.11 kB / 1.267 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.9232, allocations: 1.118 MB / 1.269 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.9232, allocations: 37.7 kB / 1.269 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.9236, allocations: 492.3 kB / 1.269 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.201e-05/0.9237, allocations: 110.5 kB / 1.269 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.9239, allocations: 114 kB / 1.269 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.924, allocations: 325.9 kB / 1.27 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.9244, allocations: 218.4 kB / 1.27 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.925, allocations: 0.5174 MB / 1.27 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.9258, allocations: 0.6346 MB / 1.271 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.9259, allocations: 4 kB / 1.271 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001142/0.927, allocations: 0.717 MB / 1.272 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.9271, allocations: 37.7 kB / 1.272 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9271, allocations: 4 kB / 1.272 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.9271, allocations: 8 kB / 1.272 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.9275, allocations: 112.4 kB / 1.272 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.9276, allocations: 8 kB / 1.272 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.9281, allocations: 71.48 kB / 1.272 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.9282, allocations: 24 kB / 1.272 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006383/0.9288, allocations: 0.4967 MB / 1.272 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000542/0.9294, allocations: 497.9 kB / 1.273 GB, free: 15.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007361/0.9301, allocations: 0.5644 MB / 1.273 GB, free: 15.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/0.9302, allocations: 4 kB / 1.273 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001004/0.9312, allocations: 0.6383 MB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.9312, allocations: 37.69 kB / 1.274 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9312, allocations: 7.938 kB / 1.274 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.9312, allocations: 8 kB / 1.274 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.9316, allocations: 99.88 kB / 1.274 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.9316, allocations: 11.94 kB / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.9322, allocations: 68.44 kB / 1.274 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.9322, allocations: 27.98 kB / 1.274 GB, free: 14.42 MB / 1.014 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.0001564/0.9324, allocations: 219.9 kB / 1.274 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.9325, allocations: 98.78 kB / 1.275 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008757/0.9334, allocations: 0.495 MB / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.9334, allocations: 3.938 kB / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.9334, allocations: 4.188 kB / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.9337, allocations: 207.9 kB / 1.275 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.9339, allocations: 11.98 kB / 1.275 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.9342, allocations: 27.91 kB / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.9343, allocations: 23.97 kB / 1.275 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000917/0.9352, allocations: 0.5623 MB / 1.276 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008075/0.9361, allocations: 0.7009 MB / 1.277 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003023/0.9364, allocations: 179.8 kB / 1.277 GB, free: 11.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009386/0.9373, allocations: 0.7914 MB / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of Backend: time 3.7e-07/0.9373, allocations: 0 / 1.278 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.9394, allocations: 0.9014 MB / 1.278 GB, free: 10.12 MB / 1.014 GB Notification: Performance of SimCode: time 0.003626/0.943, allocations: 2.45 MB / 1.281 GB, free: 7.621 MB / 1.014 GB Notification: Performance of Templates: time 0.02925/0.9723, allocations: 18.92 MB / 1.299 GB, free: 4.902 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches