Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 116.8 kB / 17.13 MB, free: 5.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 198 kB / 20.08 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] 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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.88 kB / 1.057 GB, free: 1.992 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3103, allocations: 160.7 MB / 1.214 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.9482/1.258, allocations: 162.1 MB / 1.372 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004106/1.263, allocations: 1.769 MB / 1.374 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/1.263, allocations: 11.22 kB / 1.374 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007491/1.264, allocations: 173.6 kB / 1.374 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/1.266, allocations: 0.5418 MB / 1.375 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/1.267, allocations: 396.6 kB / 1.375 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003376/1.27, allocations: 2.523 MB / 1.378 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/1.272, allocations: 0.799 MB / 1.378 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/1.274, allocations: 1.041 MB / 1.379 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/1.275, allocations: 0.746 MB / 1.38 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/1.275, allocations: 55.66 kB / 1.38 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/1.277, allocations: 0.7694 MB / 1.381 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004292/1.278, allocations: 312.7 kB / 1.381 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008412/1.279, allocations: 0.5415 MB / 1.382 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/1.281, allocations: 1.406 MB / 1.383 GB, free: 9.805 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.281, allocations: 4 kB / 1.383 GB, free: 9.801 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/1.281, allocations: 0 / 1.383 GB, free: 9.801 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.19e-05/1.281, allocations: 1.219 kB / 1.383 GB, free: 9.801 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002969/1.284, allocations: 1.486 MB / 1.385 GB, free: 8.641 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/1.284, allocations: 9.781 kB / 1.385 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/1.285, allocations: 192.7 kB / 1.385 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.287, allocations: 0.8555 MB / 1.386 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/1.287, allocations: 47.38 kB / 1.386 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.287, allocations: 64.75 kB / 1.386 GB, free: 7.875 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/1.289, allocations: 0.7863 MB / 1.387 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/1.289, allocations: 5.219 kB / 1.387 GB, free: 7.309 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/1.289, allocations: 21.88 kB / 1.387 GB, free: 7.293 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/1.289, allocations: 16.72 kB / 1.387 GB, free: 7.293 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/1.29, allocations: 0.5372 MB / 1.387 GB, free: 7.031 MB / 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.005152/1.295, allocations: 4.596 MB / 1.392 GB, free: 2.719 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/1.296, allocations: 396.9 kB / 1.392 GB, free: 2.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/1.296, allocations: 225.7 kB / 1.392 GB, free: 2.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/1.297, allocations: 199.5 kB / 1.392 GB, free: 2.203 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/1.297, allocations: 299.1 kB / 1.393 GB, free: 2.004 MB / 1.061 GB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/1.297, allocations: 0 / 1.393 GB, free: 2.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=31): time 0.001644/1.299, allocations: 0.6345 MB / 1.393 GB, free: 1.688 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/1.299, allocations: 86.23 kB / 1.393 GB, free: 1.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/1.301, allocations: 1.114 MB / 1.394 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/1.301, allocations: 37.42 kB / 1.395 GB, free: 0.957 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/1.301, allocations: 496 kB / 1.395 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/1.301, allocations: 118 kB / 1.395 GB, free: 444 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/1.301, allocations: 111.1 kB / 1.395 GB, free: 380 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.302, allocations: 327.2 kB / 1.396 GB, free: 52 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/1.302, allocations: 222.2 kB / 1.396 GB, free: 15.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/1.303, allocations: 0.5249 MB / 1.396 GB, free: 15.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009905/1.304, allocations: 0.6291 MB / 1.397 GB, free: 14.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.304, allocations: 1.719 kB / 1.397 GB, free: 14.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001419/1.305, allocations: 0.7286 MB / 1.398 GB, free: 14.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/1.305, allocations: 32.64 kB / 1.398 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.305, allocations: 5.594 kB / 1.398 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/1.305, allocations: 11.31 kB / 1.398 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/1.306, allocations: 112.9 kB / 1.398 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/1.306, allocations: 10.31 kB / 1.398 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008588/1.307, allocations: 74.09 kB / 1.398 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/1.307, allocations: 23.03 kB / 1.398 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008378/1.307, allocations: 0.4994 MB / 1.398 GB, free: 14.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005951/1.308, allocations: 493.8 kB / 1.399 GB, free: 13.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007827/1.309, allocations: 0.5602 MB / 1.399 GB, free: 13.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/1.309, allocations: 0 / 1.399 GB, free: 13.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001117/1.31, allocations: 0.6464 MB / 1.4 GB, free: 12.89 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/1.31, allocations: 37.78 kB / 1.4 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.31, allocations: 7.859 kB / 1.4 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/1.31, allocations: 12.38 kB / 1.4 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/1.31, allocations: 101.9 kB / 1.4 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.31, allocations: 14 kB / 1.4 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/1.311, allocations: 76.23 kB / 1.4 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/1.311, allocations: 26.52 kB / 1.4 GB, free: 12.77 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.0002369/1.311, allocations: 223.7 kB / 1.4 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.312, allocations: 100.4 kB / 1.401 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/1.313, allocations: 494.4 kB / 1.401 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.313, allocations: 9.078 kB / 1.401 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.313, allocations: 0 / 1.401 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.313, allocations: 0 / 1.401 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/1.315, allocations: 1.387 MB / 1.402 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/1.315, allocations: 0 / 1.402 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/1.315, allocations: 68.17 kB / 1.402 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/1.315, allocations: 6.219 kB / 1.402 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/1.315, allocations: 9.094 kB / 1.402 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.315, allocations: 2.75 kB / 1.402 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.315, allocations: 10.83 kB / 1.402 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/1.316, allocations: 0.6091 MB / 1.403 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/1.316, allocations: 215.5 kB / 1.403 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.317, allocations: 14.23 kB / 1.403 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/1.317, allocations: 18.36 kB / 1.403 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/1.317, allocations: 31.11 kB / 1.403 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/1.317, allocations: 11.88 kB / 1.403 GB, free: 10.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009985/1.318, allocations: 0.789 MB / 1.404 GB, free: 10.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.318, allocations: 0 / 1.404 GB, free: 10.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001182/1.319, allocations: 417.7 kB / 1.404 GB, free: 10.1 MB / 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.0004586/1.32, allocations: 169.3 kB / 1.405 GB, free: 9.984 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001397/1.321, allocations: 0.7948 MB / 1.405 GB, free: 9.543 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.321, allocations: 0.625 kB / 1.405 GB, free: 9.543 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/1.321, allocations: 184.8 kB / 1.406 GB, free: 9.461 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/1.323, allocations: 454.9 kB / 1.406 GB, free: 9.223 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/1.326, allocations: 1.801 MB / 1.408 GB, free: 8.164 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/1.327, allocations: 1.178 MB / 1.409 GB, free: 7.234 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/1.327, allocations: 83.23 kB / 1.409 GB, free: 7.215 MB / 1.076 GB Notification: Performance of SimCode: time 9.12e-07/1.327, allocations: 0 / 1.409 GB, free: 7.215 MB / 1.076 GB Notification: Performance of Templates: time 0.02576/1.353, allocations: 16.07 MB / 1.425 GB, free: 8.41 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.989693498937413]