Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001733/0.001733, allocations: 107.5 kB / 16.41 MB, free: 6.414 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.002331/0.002331, allocations: 195.5 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.006/3.006, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.337/5.337, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 59.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83/1.833, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.3646/2.198, allocations: 161.6 MB / 1.366 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009705/2.207, allocations: 1.755 MB / 1.368 GB, free: 9.676 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009126/2.208, allocations: 15.88 kB / 1.368 GB, free: 9.66 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009522/2.209, allocations: 159 kB / 1.368 GB, free: 9.504 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00245/2.212, allocations: 0.525 MB / 1.369 GB, free: 8.977 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/2.214, allocations: 406 kB / 1.369 GB, free: 8.586 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004328/2.218, allocations: 2.548 MB / 1.372 GB, free: 6.031 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008835/2.227, allocations: 2.403 MB / 1.374 GB, free: 3.609 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/2.231, allocations: 1.051 MB / 1.375 GB, free: 2.555 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006371/2.237, allocations: 0.7078 MB / 1.376 GB, free: 1.844 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003119/2.238, allocations: 60 kB / 1.376 GB, free: 1.785 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/2.241, allocations: 0.7406 MB / 1.376 GB, free: 1.043 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006288/2.241, allocations: 318.8 kB / 1.377 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/2.243, allocations: 0.544 MB / 1.377 GB, free: 188 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008032/2.251, allocations: 1.419 MB / 1.379 GB, free: 14.76 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/2.251, allocations: 0 / 1.379 GB, free: 14.76 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.527e-06/2.251, allocations: 0 / 1.379 GB, free: 14.76 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.013e-05/2.251, allocations: 0 / 1.379 GB, free: 14.76 MB / 1.107 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.003981/2.255, allocations: 1.451 MB / 1.38 GB, free: 13.25 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.437e-05/2.255, allocations: 8.031 kB / 1.38 GB, free: 13.24 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/2.256, allocations: 190.5 kB / 1.38 GB, free: 13.05 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/2.258, allocations: 0.8606 MB / 1.381 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/2.258, allocations: 45 kB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/2.258, allocations: 56 kB / 1.381 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/2.26, allocations: 0.8238 MB / 1.382 GB, free: 11.14 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/2.26, allocations: 3.938 kB / 1.382 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/2.26, allocations: 27.94 kB / 1.382 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/2.26, allocations: 15.94 kB / 1.382 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/2.262, allocations: 0.5696 MB / 1.383 GB, free: 10.52 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.006232/2.268, allocations: 4.211 MB / 1.387 GB, free: 6.039 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/2.269, allocations: 434.2 kB / 1.387 GB, free: 5.605 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/2.27, allocations: 341.1 kB / 1.387 GB, free: 5.27 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/2.27, allocations: 198.2 kB / 1.388 GB, free: 5.039 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005026/2.276, allocations: 319.1 kB / 1.388 GB, free: 4.707 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006421/2.276, allocations: 27.69 kB / 1.388 GB, free: 4.68 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 5.59e-06/2.276, allocations: 4 kB / 1.388 GB, free: 4.676 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.008907/2.285, allocations: 1.659 MB / 1.39 GB, free: 2.988 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/2.285, allocations: 93.03 kB / 1.39 GB, free: 2.879 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/2.288, allocations: 1.154 MB / 1.391 GB, free: 1.707 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/2.289, allocations: 33.7 kB / 1.391 GB, free: 1.668 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/2.289, allocations: 492.4 kB / 1.391 GB, free: 1.184 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/2.29, allocations: 110.6 kB / 1.391 GB, free: 1.074 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/2.29, allocations: 118 kB / 1.391 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000187/2.29, allocations: 330 kB / 1.392 GB, free: 0.625 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008322/2.291, allocations: 234.9 kB / 1.392 GB, free: 400 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/2.292, allocations: 0.5447 MB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/2.294, allocations: 0.6737 MB / 1.393 GB, free: 14.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/2.294, allocations: 7.938 kB / 1.393 GB, free: 14.95 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004073/2.298, allocations: 1.099 MB / 1.394 GB, free: 13.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/2.298, allocations: 38.31 kB / 1.394 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/2.298, allocations: 8 kB / 1.394 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/2.3, allocations: 376.3 kB / 1.395 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/2.301, allocations: 83.86 kB / 1.395 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/2.303, allocations: 1.035 MB / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/2.305, allocations: 63.98 kB / 1.396 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/2.305, allocations: 24 kB / 1.396 GB, free: 12.19 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001322/2.306, allocations: 0.5164 MB / 1.396 GB, free: 11.67 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/2.307, allocations: 0.5069 MB / 1.397 GB, free: 11.03 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001326/2.309, allocations: 0.6074 MB / 1.397 GB, free: 10.34 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.203e-06/2.309, allocations: 3.938 kB / 1.397 GB, free: 10.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.002755/2.311, allocations: 0.8923 MB / 1.398 GB, free: 9.426 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/2.312, allocations: 38.33 kB / 1.398 GB, free: 9.383 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/2.312, allocations: 8 kB / 1.398 GB, free: 9.375 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000949/2.313, allocations: 240.6 kB / 1.399 GB, free: 9.137 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/2.313, allocations: 87.86 kB / 1.399 GB, free: 9.051 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/2.331, allocations: 3.275 MB / 1.402 GB, free: 5.641 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/2.333, allocations: 68.23 kB / 1.402 GB, free: 5.574 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/2.333, allocations: 24 kB / 1.402 GB, free: 5.551 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_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.0004278/2.334, allocations: 212.2 kB / 1.402 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/2.334, allocations: 110.9 kB / 1.402 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/2.337, allocations: 0.7733 MB / 1.403 GB, free: 4.445 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/2.337, allocations: 3.984 kB / 1.403 GB, free: 4.441 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/2.337, allocations: 0 / 1.403 GB, free: 4.441 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008834/2.338, allocations: 223.8 kB / 1.403 GB, free: 4.203 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/2.338, allocations: 7.984 kB / 1.403 GB, free: 4.195 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009375/2.348, allocations: 35.95 kB / 1.403 GB, free: 4.16 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/2.348, allocations: 47.92 kB / 1.403 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002531/2.351, allocations: 0.8477 MB / 1.404 GB, free: 3.254 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007136/2.358, allocations: 0.9927 MB / 1.405 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006707/2.359, allocations: 195.8 kB / 1.405 GB, free: 2.055 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.006459/2.365, allocations: 0.8197 MB / 1.406 GB, free: 1.227 MB / 1.123 GB Notification: Performance of Backend: time 1.944e-06/2.365, allocations: 7.875 kB / 1.406 GB, free: 1.219 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01458/2.38, allocations: 1.215 MB / 1.407 GB, free: 15.98 MB / 1.139 GB Notification: Performance of SimCode: time 0.01377/2.394, allocations: 2.684 MB / 1.41 GB, free: 13.24 MB / 1.139 GB Notification: Performance of Templates: time 0.06702/2.461, allocations: 22.22 MB / 1.432 GB, free: 7.227 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches