Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001536, allocations: 112.3 kB / 16.42 MB, free: 6.516 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.001659/0.001659, allocations: 187.9 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.308/1.308, 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.412/2.412, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7319, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1551/0.887, allocations: 161.6 MB / 1.325 GB, free: 1.645 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004471/0.8915, allocations: 3.624 MB / 1.329 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.8918, allocations: 11.94 kB / 1.329 GB, free: 14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.8924, allocations: 162.9 kB / 1.329 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.8936, allocations: 0.5562 MB / 1.329 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.8947, allocations: 436.3 kB / 1.33 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002347/0.897, allocations: 2.548 MB / 1.332 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009723/0.898, allocations: 0.9333 MB / 1.333 GB, free: 9.355 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.8993, allocations: 1.051 MB / 1.334 GB, free: 8.301 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007375/0.9001, allocations: 0.7039 MB / 1.335 GB, free: 7.594 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.9002, allocations: 56 kB / 1.335 GB, free: 7.539 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.9014, allocations: 0.7523 MB / 1.336 GB, free: 6.785 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.9017, allocations: 306.9 kB / 1.336 GB, free: 6.484 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005151/0.9022, allocations: 0.5402 MB / 1.337 GB, free: 5.941 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.9036, allocations: 1.4 MB / 1.338 GB, free: 4.539 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.9036, allocations: 0 / 1.338 GB, free: 4.539 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9036, allocations: 0 / 1.338 GB, free: 4.539 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.9036, allocations: 0 / 1.338 GB, free: 4.539 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002099/0.9057, allocations: 1.455 MB / 1.339 GB, free: 3.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.9058, allocations: 8.031 kB / 1.339 GB, free: 3.012 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.9066, allocations: 194.4 kB / 1.34 GB, free: 2.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.9079, allocations: 0.8452 MB / 1.34 GB, free: 1.918 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.9079, allocations: 49 kB / 1.34 GB, free: 1.871 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.177e-05/0.908, allocations: 60 kB / 1.34 GB, free: 1.812 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.9091, allocations: 0.7849 MB / 1.341 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.9091, allocations: 3.938 kB / 1.341 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.9092, allocations: 28 kB / 1.341 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.9092, allocations: 12 kB / 1.341 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008592/0.9101, allocations: 0.5344 MB / 1.342 GB, free: 384 kB / 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.003665/0.9138, allocations: 4.583 MB / 1.346 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.9144, allocations: 422.8 kB / 1.347 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.9148, allocations: 248.6 kB / 1.347 GB, free: 10.74 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.9151, allocations: 194.2 kB / 1.347 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/0.9156, allocations: 305.9 kB / 1.347 GB, free: 10.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.033e-06/0.9156, allocations: 0 / 1.347 GB, free: 10.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.003711/0.9193, allocations: 1.305 MB / 1.349 GB, free: 8.863 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.9194, allocations: 85.33 kB / 1.349 GB, free: 8.762 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.9206, allocations: 1.122 MB / 1.35 GB, free: 7.621 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.9207, allocations: 37.64 kB / 1.35 GB, free: 7.578 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.9211, allocations: 492.2 kB / 1.35 GB, free: 7.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.485e-05/0.9211, allocations: 110.5 kB / 1.35 GB, free: 6.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.9213, allocations: 109.9 kB / 1.351 GB, free: 6.867 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.9214, allocations: 326 kB / 1.351 GB, free: 6.543 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.9218, allocations: 218.3 kB / 1.351 GB, free: 6.324 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/0.9224, allocations: 0.5291 MB / 1.352 GB, free: 5.664 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008408/0.9232, allocations: 0.6277 MB / 1.352 GB, free: 4.957 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.9233, allocations: 4 kB / 1.352 GB, free: 4.953 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002199/0.9255, allocations: 1.045 MB / 1.353 GB, free: 3.891 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.9255, allocations: 37.69 kB / 1.353 GB, free: 3.848 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.9255, allocations: 4 kB / 1.353 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.9269, allocations: 362.7 kB / 1.354 GB, free: 3.488 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.9271, allocations: 55.91 kB / 1.354 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009437/0.9281, allocations: 1.016 MB / 1.355 GB, free: 2.391 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/0.9287, allocations: 75.42 kB / 1.355 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.9288, allocations: 24 kB / 1.355 GB, free: 2.293 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006475/0.9294, allocations: 0.5006 MB / 1.355 GB, free: 1.789 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005271/0.9299, allocations: 486 kB / 1.356 GB, free: 1.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007211/0.9307, allocations: 0.5567 MB / 1.356 GB, free: 0.543 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.9307, allocations: 4 kB / 1.356 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00144/0.9321, allocations: 0.8264 MB / 1.357 GB, free: 15.7 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.9322, allocations: 37.7 kB / 1.357 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.9322, allocations: 4 kB / 1.357 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004835/0.9327, allocations: 212.8 kB / 1.357 GB, free: 15.44 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.9329, allocations: 59.84 kB / 1.357 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/0.9365, allocations: 3.345 MB / 1.361 GB, free: 11.88 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.9371, allocations: 72.05 kB / 1.361 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.9372, allocations: 20 kB / 1.361 GB, free: 11.79 MB / 1.092 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 (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.9374, allocations: 220.1 kB / 1.361 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.9375, allocations: 98.78 kB / 1.361 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.9387, allocations: 0.7101 MB / 1.362 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.9388, allocations: 3.984 kB / 1.362 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9388, allocations: 0 / 1.362 GB, free: 10.74 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.9391, allocations: 211.9 kB / 1.362 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.9392, allocations: 8 kB / 1.362 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.9396, allocations: 23.91 kB / 1.362 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.9397, allocations: 43.94 kB / 1.362 GB, free: 10.44 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001397/0.9412, allocations: 0.8011 MB / 1.363 GB, free: 9.625 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001151/0.9423, allocations: 0.9243 MB / 1.364 GB, free: 8.688 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003158/0.9426, allocations: 179.8 kB / 1.364 GB, free: 8.512 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009518/0.9436, allocations: 0.7877 MB / 1.365 GB, free: 7.715 MB / 1.092 GB Notification: Performance of Backend: time 4.21e-07/0.9436, allocations: 0 / 1.365 GB, free: 7.715 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.9462, allocations: 1.159 MB / 1.366 GB, free: 6.527 MB / 1.092 GB Notification: Performance of SimCode: time 0.003871/0.9501, allocations: 2.656 MB / 1.368 GB, free: 3.82 MB / 1.092 GB Notification: Performance of Templates: time 0.03147/0.9816, allocations: 20.63 MB / 1.388 GB, free: 15.39 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches