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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 111.1 kB / 17.07 MB, free: 6.082 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.001617/0.001617, allocations: 190.2 kB / 20.02 MB, free: 3.168 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.414/1.414, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 489.2 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 75.83 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.9699, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.2055/1.175, allocations: 161.6 MB / 1.42 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003466/1.179, allocations: 1.757 MB / 1.422 GB, free: 14.42 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/1.179, allocations: 10.81 kB / 1.422 GB, free: 14.41 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005861/1.18, allocations: 167.5 kB / 1.422 GB, free: 14.27 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/1.181, allocations: 0.5152 MB / 1.423 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/1.183, allocations: 395.8 kB / 1.423 GB, free: 13.61 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003123/1.186, allocations: 2.497 MB / 1.426 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/1.187, allocations: 0.9308 MB / 1.427 GB, free: 11.69 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/1.19, allocations: 1.161 MB / 1.428 GB, free: 11.05 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/1.191, allocations: 0.6834 MB / 1.428 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/1.191, allocations: 63.06 kB / 1.428 GB, free: 10.65 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/1.193, allocations: 0.7364 MB / 1.429 GB, free: 10.26 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/1.193, allocations: 301.1 kB / 1.429 GB, free: 10.06 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007792/1.194, allocations: 0.5449 MB / 1.43 GB, free: 9.727 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/1.196, allocations: 1.403 MB / 1.431 GB, free: 8.891 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.196, allocations: 0 / 1.431 GB, free: 8.891 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.342e-06/1.196, allocations: 0 / 1.431 GB, free: 8.891 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.873e-05/1.196, allocations: 4 kB / 1.431 GB, free: 8.887 MB / 1.123 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.002548/1.198, allocations: 1.479 MB / 1.433 GB, free: 7.738 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.199, allocations: 10.09 kB / 1.433 GB, free: 7.738 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/1.199, allocations: 196 kB / 1.433 GB, free: 7.641 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/1.201, allocations: 0.8678 MB / 1.434 GB, free: 7 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/1.201, allocations: 45.91 kB / 1.434 GB, free: 6.977 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.493e-05/1.201, allocations: 57.34 kB / 1.434 GB, free: 6.961 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/1.202, allocations: 0.7901 MB / 1.435 GB, free: 6.395 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.202, allocations: 5.312 kB / 1.435 GB, free: 6.391 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/1.202, allocations: 22.88 kB / 1.435 GB, free: 6.375 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/1.202, allocations: 13.75 kB / 1.435 GB, free: 6.375 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009188/1.203, allocations: 0.5336 MB / 1.435 GB, free: 6.117 MB / 1.123 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.004806/1.208, allocations: 4.594 MB / 1.44 GB, free: 1.805 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/1.209, allocations: 407.3 kB / 1.44 GB, free: 1.605 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/1.209, allocations: 250.4 kB / 1.44 GB, free: 1.484 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/1.21, allocations: 207.8 kB / 1.441 GB, free: 1.27 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005143/1.21, allocations: 288 kB / 1.441 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/1.21, allocations: 0 / 1.441 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.001525/1.212, allocations: 0.6425 MB / 1.441 GB, free: 336 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/1.212, allocations: 81.33 kB / 1.442 GB, free: 236 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/1.213, allocations: 1.11 MB / 1.443 GB, free: 15.1 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/1.213, allocations: 41.64 kB / 1.443 GB, free: 15.05 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/1.214, allocations: 0.489 MB / 1.443 GB, free: 14.56 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/1.214, allocations: 115 kB / 1.443 GB, free: 14.45 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/1.214, allocations: 114.1 kB / 1.443 GB, free: 14.33 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.214, allocations: 325.9 kB / 1.444 GB, free: 14 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/1.215, allocations: 210.4 kB / 1.444 GB, free: 13.8 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/1.215, allocations: 0.5253 MB / 1.444 GB, free: 13.13 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009381/1.216, allocations: 0.6275 MB / 1.445 GB, free: 12.43 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.216, allocations: 4 kB / 1.445 GB, free: 12.42 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001353/1.218, allocations: 0.725 MB / 1.446 GB, free: 11.68 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/1.218, allocations: 45.72 kB / 1.446 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.218, allocations: 4.281 kB / 1.446 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.218, allocations: 8 kB / 1.446 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/1.218, allocations: 107.8 kB / 1.446 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/1.218, allocations: 11.98 kB / 1.446 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/1.219, allocations: 71.59 kB / 1.446 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/1.219, allocations: 35.97 kB / 1.446 GB, free: 11.4 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007769/1.22, allocations: 0.4966 MB / 1.446 GB, free: 10.9 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006066/1.221, allocations: 492.8 kB / 1.447 GB, free: 10.29 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008205/1.221, allocations: 0.5683 MB / 1.447 GB, free: 9.641 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/1.221, allocations: 4 kB / 1.447 GB, free: 9.637 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001225/1.223, allocations: 0.6386 MB / 1.448 GB, free: 8.984 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/1.223, allocations: 33.7 kB / 1.448 GB, free: 8.945 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.223, allocations: 4.656 kB / 1.448 GB, free: 8.941 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/1.223, allocations: 8 kB / 1.448 GB, free: 8.934 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/1.223, allocations: 107.8 kB / 1.448 GB, free: 8.828 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/1.223, allocations: 11.98 kB / 1.448 GB, free: 8.816 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/1.224, allocations: 64.12 kB / 1.448 GB, free: 8.754 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/1.224, allocations: 24 kB / 1.448 GB, free: 8.73 MB / 1.139 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.000228/1.224, allocations: 224 kB / 1.449 GB, free: 8.504 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/1.224, allocations: 103.3 kB / 1.449 GB, free: 8.402 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.225, allocations: 0.4947 MB / 1.449 GB, free: 7.902 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/1.225, allocations: 4 kB / 1.449 GB, free: 7.898 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.225, allocations: 0 / 1.449 GB, free: 7.898 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.225, allocations: 4 kB / 1.449 GB, free: 7.895 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/1.228, allocations: 1.376 MB / 1.45 GB, free: 6.441 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.228, allocations: 8.156 kB / 1.45 GB, free: 6.434 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/1.228, allocations: 67.89 kB / 1.451 GB, free: 6.367 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/1.228, allocations: 7.938 kB / 1.451 GB, free: 6.359 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/1.228, allocations: 8 kB / 1.451 GB, free: 6.352 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/1.228, allocations: 7.984 kB / 1.451 GB, free: 6.344 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.228, allocations: 4 kB / 1.451 GB, free: 6.34 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000962/1.229, allocations: 0.6032 MB / 1.451 GB, free: 5.699 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/1.229, allocations: 216.3 kB / 1.451 GB, free: 5.469 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.23, allocations: 8 kB / 1.451 GB, free: 5.461 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/1.23, allocations: 27.97 kB / 1.451 GB, free: 5.434 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/1.23, allocations: 31.91 kB / 1.451 GB, free: 5.402 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/1.23, allocations: 8 kB / 1.451 GB, free: 5.395 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001103/1.231, allocations: 0.7953 MB / 1.452 GB, free: 4.59 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.231, allocations: 0 / 1.452 GB, free: 4.59 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001198/1.232, allocations: 411.5 kB / 1.453 GB, free: 4.188 MB / 1.139 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.0004723/1.233, allocations: 189.6 kB / 1.453 GB, free: 4.004 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001496/1.234, allocations: 0.8201 MB / 1.454 GB, free: 3.16 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.234, allocations: 0 / 1.454 GB, free: 3.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/1.235, allocations: 191.7 kB / 1.454 GB, free: 2.973 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.237, allocations: 456.2 kB / 1.454 GB, free: 2.531 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/1.24, allocations: 1.808 MB / 1.456 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008698/1.241, allocations: 1.18 MB / 1.457 GB, free: 15.45 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/1.241, allocations: 75.42 kB / 1.457 GB, free: 15.38 MB / 1.154 GB Notification: Performance of SimCode: time 1.072e-06/1.241, allocations: 4 kB / 1.457 GB, free: 15.37 MB / 1.154 GB Notification: Performance of Templates: time 0.02655/1.268, allocations: 15.95 MB / 1.473 GB, free: 15.52 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.5552371959202]