Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004838/0.004838, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.0011/0.0011, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.558/2.558, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 75.88 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3116, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.8063/1.118, allocations: 161.6 MB / 1.324 GB, free: 7.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005673/1.124, allocations: 3.622 MB / 1.328 GB, free: 5.035 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005795/1.124, allocations: 15.53 kB / 1.328 GB, free: 5.027 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007278/1.125, allocations: 155.3 kB / 1.328 GB, free: 4.934 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/1.127, allocations: 0.5346 MB / 1.329 GB, free: 4.648 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/1.129, allocations: 441.1 kB / 1.329 GB, free: 4.445 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004678/1.133, allocations: 2.536 MB / 1.332 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/1.135, allocations: 0.9367 MB / 1.332 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/1.138, allocations: 1.041 MB / 1.333 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/1.139, allocations: 0.6951 MB / 1.334 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000288/1.14, allocations: 54.84 kB / 1.334 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/1.142, allocations: 0.7415 MB / 1.335 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006828/1.143, allocations: 309.2 kB / 1.335 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/1.144, allocations: 0.5384 MB / 1.336 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/1.147, allocations: 1.416 MB / 1.337 GB, free: 1.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.147, allocations: 0 / 1.337 GB, free: 1.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/1.147, allocations: 0 / 1.337 GB, free: 1.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.975e-05/1.147, allocations: 5.188 kB / 1.337 GB, free: 1.086 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003737/1.151, allocations: 1.482 MB / 1.339 GB, free: 56 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.151, allocations: 9.688 kB / 1.339 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/1.152, allocations: 202.6 kB / 1.339 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/1.153, allocations: 0.8602 MB / 1.34 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/1.153, allocations: 42.09 kB / 1.34 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/1.154, allocations: 61.56 kB / 1.34 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/1.155, allocations: 0.7899 MB / 1.341 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/1.155, allocations: 5.375 kB / 1.341 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/1.155, allocations: 21.62 kB / 1.341 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/1.155, allocations: 13.66 kB / 1.341 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/1.156, allocations: 0.538 MB / 1.341 GB, free: 14.85 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.004857/1.161, allocations: 4.597 MB / 1.346 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007258/1.162, allocations: 414.5 kB / 1.346 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/1.162, allocations: 248.5 kB / 1.346 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/1.163, allocations: 196.1 kB / 1.346 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006168/1.163, allocations: 293.7 kB / 1.347 GB, free: 10.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=31): time 2.295e-06/1.163, allocations: 1.125 kB / 1.347 GB, free: 10.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=31): time 0.005334/1.169, allocations: 1.659 MB / 1.348 GB, free: 9.969 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/1.169, allocations: 83.7 kB / 1.348 GB, free: 9.875 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/1.171, allocations: 1.123 MB / 1.349 GB, free: 9.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/1.171, allocations: 34.55 kB / 1.349 GB, free: 9.445 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/1.171, allocations: 495.4 kB / 1.35 GB, free: 9.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/1.171, allocations: 119.7 kB / 1.35 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/1.172, allocations: 112.6 kB / 1.35 GB, free: 8.914 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.172, allocations: 328.3 kB / 1.35 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/1.172, allocations: 216.4 kB / 1.351 GB, free: 8.531 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/1.173, allocations: 0.5242 MB / 1.351 GB, free: 8.094 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/1.174, allocations: 0.6298 MB / 1.352 GB, free: 7.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/1.174, allocations: 1.125 kB / 1.352 GB, free: 7.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002338/1.176, allocations: 1.039 MB / 1.353 GB, free: 7.316 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/1.176, allocations: 40.53 kB / 1.353 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.176, allocations: 5.688 kB / 1.353 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/1.177, allocations: 384.4 kB / 1.353 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/1.178, allocations: 60.14 kB / 1.353 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/1.179, allocations: 1.08 MB / 1.354 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/1.18, allocations: 73.98 kB / 1.354 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/1.18, allocations: 29.98 kB / 1.354 GB, free: 6.473 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008417/1.181, allocations: 0.5006 MB / 1.355 GB, free: 6.281 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005824/1.181, allocations: 492.1 kB / 1.355 GB, free: 5.855 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008052/1.182, allocations: 0.5609 MB / 1.356 GB, free: 5.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.61e-06/1.182, allocations: 2.625 kB / 1.356 GB, free: 5.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001721/1.184, allocations: 0.8348 MB / 1.357 GB, free: 5.066 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/1.184, allocations: 36.3 kB / 1.357 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/1.184, allocations: 5.438 kB / 1.357 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/1.185, allocations: 215.4 kB / 1.357 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/1.185, allocations: 64.81 kB / 1.357 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/1.189, allocations: 3.271 MB / 1.36 GB, free: 2.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008818/1.19, allocations: 65.95 kB / 1.36 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/1.19, allocations: 27 kB / 1.36 GB, free: 2.285 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 (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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000263/1.19, allocations: 209.2 kB / 1.361 GB, free: 2.086 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/1.19, allocations: 112.3 kB / 1.361 GB, free: 2.023 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/1.192, allocations: 0.7037 MB / 1.361 GB, free: 1.621 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/1.192, allocations: 6.734 kB / 1.361 GB, free: 1.617 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.192, allocations: 1.375 kB / 1.361 GB, free: 1.617 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.192, allocations: 4 kB / 1.361 GB, free: 1.613 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/1.195, allocations: 1.601 MB / 1.363 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.195, allocations: 2.688 kB / 1.363 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/1.195, allocations: 23.39 kB / 1.363 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/1.195, allocations: 254.9 kB / 1.363 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/1.195, allocations: 13.16 kB / 1.363 GB, free: 392 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/1.196, allocations: 1.027 MB / 1.364 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.196, allocations: 1.812 kB / 1.364 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/1.198, allocations: 0.8352 MB / 1.365 GB, free: 15.05 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/1.198, allocations: 221.4 kB / 1.365 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/1.199, allocations: 6.469 kB / 1.365 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/1.199, allocations: 24.47 kB / 1.365 GB, free: 14.85 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.199, allocations: 29.12 kB / 1.365 GB, free: 14.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/1.199, allocations: 15.94 kB / 1.365 GB, free: 14.82 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001694/1.201, allocations: 0.795 MB / 1.366 GB, free: 14.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.7e-07/1.201, allocations: 0 / 1.366 GB, free: 14.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00219/1.203, allocations: 439.6 kB / 1.367 GB, free: 14.33 MB / 1.045 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006278/1.204, allocations: 170.9 kB / 1.367 GB, free: 14.21 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002757/1.207, allocations: 1.216 MB / 1.368 GB, free: 13.49 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.207, allocations: 2.75 kB / 1.368 GB, free: 13.49 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006281/1.207, allocations: 285.8 kB / 1.368 GB, free: 13.37 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.209, allocations: 452.6 kB / 1.369 GB, free: 13.13 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/1.212, allocations: 1.794 MB / 1.37 GB, free: 12.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/1.213, allocations: 1.191 MB / 1.371 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0008642/1.214, allocations: 313.7 kB / 1.372 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/1.214, allocations: 69.48 kB / 1.372 GB, free: 10.99 MB / 1.045 GB Notification: Performance of SimCode: time 9.42e-07/1.214, allocations: 0 / 1.372 GB, free: 10.99 MB / 1.045 GB Notification: Performance of Templates: time 0.03411/1.248, allocations: 19.42 MB / 1.391 GB, free: 13.64 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches