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.001539/0.001539, allocations: 114 kB / 17.08 MB, free: 5.988 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.001587/0.001587, allocations: 194.2 kB / 20.03 MB, free: 3.055 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.433/1.433, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.661/2.661, allocations: 437.1 MB / 0.7177 GB, free: 4.504 MB / 0.5606 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.002163/0.002163, allocations: 63.91 kB / 1.028 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.315, allocations: 151.6 MB / 1.176 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.923/1.238, allocations: 161.6 MB / 1.334 GB, free: 7.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003902/1.242, allocations: 1.759 MB / 1.335 GB, free: 5.973 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/1.243, allocations: 11.94 kB / 1.335 GB, free: 5.969 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000731/1.243, allocations: 158.8 kB / 1.336 GB, free: 5.871 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/1.245, allocations: 0.5222 MB / 1.336 GB, free: 5.594 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/1.247, allocations: 395 kB / 1.336 GB, free: 5.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003602/1.25, allocations: 2.525 MB / 1.339 GB, free: 4.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/1.252, allocations: 0.9297 MB / 1.34 GB, free: 3.969 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/1.255, allocations: 1.023 MB / 1.341 GB, free: 3.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/1.256, allocations: 0.7141 MB / 1.342 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/1.256, allocations: 58.5 kB / 1.342 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/1.258, allocations: 0.7377 MB / 1.342 GB, free: 3.008 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004882/1.259, allocations: 305.6 kB / 1.343 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.26, allocations: 0.5386 MB / 1.343 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/1.263, allocations: 1.411 MB / 1.345 GB, free: 2.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.263, allocations: 0 / 1.345 GB, free: 2.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.246e-06/1.263, allocations: 1.594 kB / 1.345 GB, free: 2.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.194e-05/1.263, allocations: 0 / 1.345 GB, free: 2.07 MB / 1.014 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.00306/1.266, allocations: 1.489 MB / 1.346 GB, free: 1.027 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.266, allocations: 9.969 kB / 1.346 GB, free: 1.027 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009454/1.267, allocations: 189.2 kB / 1.346 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/1.268, allocations: 0.8504 MB / 1.347 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/1.268, allocations: 50.91 kB / 1.347 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.355e-05/1.269, allocations: 64.28 kB / 1.347 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/1.27, allocations: 0.7922 MB / 1.348 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/1.27, allocations: 2.406 kB / 1.348 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/1.27, allocations: 23.11 kB / 1.348 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/1.27, allocations: 14.41 kB / 1.348 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/1.271, allocations: 0.5342 MB / 1.348 GB, free: 15.83 MB / 1.029 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.005394/1.277, allocations: 4.602 MB / 1.353 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/1.277, allocations: 415.4 kB / 1.353 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/1.278, allocations: 242.7 kB / 1.354 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003683/1.278, allocations: 196.2 kB / 1.354 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/1.279, allocations: 295.1 kB / 1.354 GB, free: 11.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/1.279, allocations: 0 / 1.354 GB, free: 11.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=31): time 0.001704/1.28, allocations: 0.6371 MB / 1.355 GB, free: 11.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/1.281, allocations: 87.11 kB / 1.355 GB, free: 11.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.282, allocations: 1.111 MB / 1.356 GB, free: 10.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/1.282, allocations: 33.8 kB / 1.356 GB, free: 10.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/1.283, allocations: 498.2 kB / 1.356 GB, free: 10.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/1.283, allocations: 119.9 kB / 1.356 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/1.283, allocations: 107.3 kB / 1.357 GB, free: 10.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.283, allocations: 328.5 kB / 1.357 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/1.284, allocations: 220.7 kB / 1.357 GB, free: 9.758 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/1.285, allocations: 0.5268 MB / 1.358 GB, free: 9.316 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/1.286, allocations: 0.633 MB / 1.358 GB, free: 8.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/1.286, allocations: 1.531 kB / 1.358 GB, free: 8.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001612/1.287, allocations: 0.7297 MB / 1.359 GB, free: 8.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/1.287, allocations: 36.42 kB / 1.359 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.287, allocations: 4.625 kB / 1.359 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.287, allocations: 8.938 kB / 1.359 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/1.288, allocations: 110.6 kB / 1.359 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/1.288, allocations: 16.88 kB / 1.359 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/1.289, allocations: 73.42 kB / 1.359 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/1.289, allocations: 23.75 kB / 1.359 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009161/1.29, allocations: 0.4928 MB / 1.36 GB, free: 8.363 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006145/1.29, allocations: 498.5 kB / 1.36 GB, free: 7.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008359/1.291, allocations: 0.5583 MB / 1.361 GB, free: 7.555 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.138e-06/1.291, allocations: 2.344 kB / 1.361 GB, free: 7.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001294/1.292, allocations: 0.6492 MB / 1.361 GB, free: 7.281 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/1.293, allocations: 35.91 kB / 1.361 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.293, allocations: 13.47 kB / 1.361 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/1.293, allocations: 7.812 kB / 1.361 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/1.293, allocations: 101.8 kB / 1.361 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/1.293, allocations: 19.23 kB / 1.361 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/1.294, allocations: 65.33 kB / 1.362 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/1.294, allocations: 25.25 kB / 1.362 GB, free: 7.199 MB / 1.029 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.0002588/1.294, allocations: 218.5 kB / 1.362 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.294, allocations: 101.5 kB / 1.362 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/1.295, allocations: 495.5 kB / 1.362 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1.295, allocations: 5.453 kB / 1.362 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.295, allocations: 1.156 kB / 1.362 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.295, allocations: 0 / 1.362 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/1.298, allocations: 1.387 MB / 1.364 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.298, allocations: 1.312 kB / 1.364 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/1.298, allocations: 64.2 kB / 1.364 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/1.298, allocations: 6.656 kB / 1.364 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/1.298, allocations: 10.22 kB / 1.364 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/1.298, allocations: 10.12 kB / 1.364 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.298, allocations: 1.438 kB / 1.364 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/1.299, allocations: 0.6031 MB / 1.364 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/1.3, allocations: 214.9 kB / 1.365 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.3, allocations: 12.22 kB / 1.365 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/1.3, allocations: 20.66 kB / 1.365 GB, free: 5.492 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/1.3, allocations: 30.23 kB / 1.365 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/1.3, allocations: 16.31 kB / 1.365 GB, free: 5.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001121/1.302, allocations: 0.7945 MB / 1.365 GB, free: 5.191 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.41e-06/1.302, allocations: 0 / 1.365 GB, free: 5.191 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00148/1.303, allocations: 410.7 kB / 1.366 GB, free: 5.137 MB / 1.029 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.0005319/1.304, allocations: 183.3 kB / 1.366 GB, free: 5.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0017/1.305, allocations: 0.8159 MB / 1.367 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.305, allocations: 5.188 kB / 1.367 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003991/1.306, allocations: 197.5 kB / 1.367 GB, free: 4.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.308, allocations: 455.6 kB / 1.367 GB, free: 4.363 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/1.311, allocations: 1.808 MB / 1.369 GB, free: 3.297 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/1.312, allocations: 1.172 MB / 1.37 GB, free: 2.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/1.312, allocations: 83.02 kB / 1.37 GB, free: 2.352 MB / 1.029 GB Notification: Performance of SimCode: time 6.32e-07/1.312, allocations: 0 / 1.37 GB, free: 2.352 MB / 1.029 GB Notification: Performance of Templates: time 0.02725/1.34, allocations: 15.97 MB / 1.386 GB, free: 10.12 MB / 1.045 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.637804595986381]