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.007197/0.007197, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001637/0.001637, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.83 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3153, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.8546/1.17, allocations: 161.6 MB / 1.366 GB, free: 5.195 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00354/1.174, allocations: 1.76 MB / 1.367 GB, free: 3.969 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/1.174, allocations: 15.34 kB / 1.367 GB, free: 3.961 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006745/1.175, allocations: 163.8 kB / 1.367 GB, free: 3.859 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/1.176, allocations: 0.518 MB / 1.368 GB, free: 3.586 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/1.178, allocations: 399.3 kB / 1.368 GB, free: 3.398 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003061/1.181, allocations: 2.527 MB / 1.371 GB, free: 2.312 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/1.182, allocations: 0.9345 MB / 1.372 GB, free: 1.953 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/1.184, allocations: 1.038 MB / 1.373 GB, free: 1.543 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009956/1.185, allocations: 0.707 MB / 1.373 GB, free: 1.234 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/1.185, allocations: 59.81 kB / 1.373 GB, free: 1.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/1.187, allocations: 0.7394 MB / 1.374 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003789/1.187, allocations: 306.3 kB / 1.375 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007592/1.188, allocations: 0.5409 MB / 1.375 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002025/1.19, allocations: 1.395 MB / 1.376 GB, free: 15.67 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.19, allocations: 5.25 kB / 1.376 GB, free: 15.67 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.615e-06/1.19, allocations: 0 / 1.376 GB, free: 15.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.27e-05/1.19, allocations: 0 / 1.376 GB, free: 15.67 MB / 1.076 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.00263/1.193, allocations: 1.446 MB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.193, allocations: 12.94 kB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009115/1.194, allocations: 184.3 kB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/1.195, allocations: 0.8467 MB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/1.195, allocations: 46.16 kB / 1.379 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/1.195, allocations: 62.92 kB / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/1.197, allocations: 0.7926 MB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/1.197, allocations: 5.406 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/1.197, allocations: 25.41 kB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/1.197, allocations: 13.03 kB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009833/1.198, allocations: 0.5339 MB / 1.38 GB, free: 12.95 MB / 1.076 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.004736/1.203, allocations: 4.588 MB / 1.385 GB, free: 8.648 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/1.203, allocations: 418.1 kB / 1.385 GB, free: 8.441 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/1.204, allocations: 243 kB / 1.385 GB, free: 8.324 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/1.204, allocations: 200.2 kB / 1.386 GB, free: 8.117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/1.205, allocations: 290.5 kB / 1.386 GB, free: 7.926 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 3.947e-06/1.205, allocations: 0 / 1.386 GB, free: 7.926 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.00156/1.206, allocations: 0.6402 MB / 1.386 GB, free: 7.602 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/1.206, allocations: 85.7 kB / 1.387 GB, free: 7.504 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/1.208, allocations: 1.114 MB / 1.388 GB, free: 6.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/1.208, allocations: 39.45 kB / 1.388 GB, free: 6.871 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/1.208, allocations: 488.8 kB / 1.388 GB, free: 6.457 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/1.209, allocations: 115.3 kB / 1.388 GB, free: 6.359 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/1.209, allocations: 105.9 kB / 1.388 GB, free: 6.301 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.209, allocations: 332 kB / 1.389 GB, free: 5.977 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/1.209, allocations: 210.1 kB / 1.389 GB, free: 5.871 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/1.21, allocations: 0.5239 MB / 1.389 GB, free: 5.371 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/1.211, allocations: 0.6287 MB / 1.39 GB, free: 4.902 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.211, allocations: 6.656 kB / 1.39 GB, free: 4.898 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001333/1.212, allocations: 0.7191 MB / 1.391 GB, free: 4.512 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/1.212, allocations: 38.06 kB / 1.391 GB, free: 4.477 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.212, allocations: 5.5 kB / 1.391 GB, free: 4.477 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.212, allocations: 7.812 kB / 1.391 GB, free: 4.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/1.213, allocations: 107.2 kB / 1.391 GB, free: 4.449 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/1.213, allocations: 16.3 kB / 1.391 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/1.214, allocations: 76.83 kB / 1.391 GB, free: 4.395 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/1.214, allocations: 24.06 kB / 1.391 GB, free: 4.391 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007856/1.214, allocations: 0.4943 MB / 1.391 GB, free: 4.102 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005917/1.215, allocations: 495.4 kB / 1.392 GB, free: 3.617 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007302/1.216, allocations: 0.5494 MB / 1.392 GB, free: 3.188 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/1.216, allocations: 2.938 kB / 1.392 GB, free: 3.188 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001051/1.217, allocations: 0.6483 MB / 1.393 GB, free: 2.836 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.217, allocations: 33.48 kB / 1.393 GB, free: 2.805 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.217, allocations: 9.594 kB / 1.393 GB, free: 2.801 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/1.217, allocations: 7.625 kB / 1.393 GB, free: 2.801 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/1.217, allocations: 103.8 kB / 1.393 GB, free: 2.773 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.217, allocations: 16.23 kB / 1.393 GB, free: 2.766 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/1.218, allocations: 60.91 kB / 1.393 GB, free: 2.738 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/1.218, allocations: 24.22 kB / 1.393 GB, free: 2.73 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.0001871/1.218, allocations: 234.4 kB / 1.394 GB, free: 2.508 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.218, allocations: 97.31 kB / 1.394 GB, free: 2.457 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/1.219, allocations: 496.1 kB / 1.394 GB, free: 2.191 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.219, allocations: 3.5 kB / 1.394 GB, free: 2.191 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.219, allocations: 1.656 kB / 1.394 GB, free: 2.191 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.219, allocations: 3.984 kB / 1.394 GB, free: 2.188 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/1.221, allocations: 1.382 MB / 1.395 GB, free: 1.215 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.221, allocations: 6.438 kB / 1.395 GB, free: 1.211 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/1.222, allocations: 66.64 kB / 1.396 GB, free: 1.191 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.222, allocations: 8.062 kB / 1.396 GB, free: 1.188 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/1.222, allocations: 8.109 kB / 1.396 GB, free: 1.184 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.222, allocations: 6.688 kB / 1.396 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.222, allocations: 2.75 kB / 1.396 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/1.222, allocations: 0.5998 MB / 1.396 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/1.223, allocations: 211.6 kB / 1.396 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.223, allocations: 15.62 kB / 1.396 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/1.223, allocations: 25.84 kB / 1.396 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/1.223, allocations: 34.52 kB / 1.396 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/1.223, allocations: 8.219 kB / 1.396 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009504/1.224, allocations: 0.7938 MB / 1.397 GB, free: 116 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.224, allocations: 0 / 1.397 GB, free: 116 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.001204/1.226, allocations: 405.8 kB / 1.398 GB, free: 64 kB / 1.076 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.000418/1.226, allocations: 175.3 kB / 1.398 GB, free: 15.94 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.227, allocations: 0.8197 MB / 1.399 GB, free: 15.49 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.227, allocations: 0 / 1.399 GB, free: 15.49 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/1.228, allocations: 205.3 kB / 1.399 GB, free: 15.4 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.23, allocations: 456.2 kB / 1.399 GB, free: 15.16 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/1.232, allocations: 1.73 MB / 1.401 GB, free: 14.17 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/1.233, allocations: 1.178 MB / 1.402 GB, free: 13.24 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009287/1.234, allocations: 409.2 kB / 1.402 GB, free: 13.06 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/1.234, allocations: 75.33 kB / 1.403 GB, free: 13.04 MB / 1.092 GB Notification: Performance of SimCode: time 6.21e-07/1.234, allocations: 0 / 1.403 GB, free: 13.04 MB / 1.092 GB Notification: Performance of Templates: time 0.02998/1.264, allocations: 17.46 MB / 1.42 GB, free: 12.86 MB / 1.107 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/jenkins/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