Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00748/0.00748, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.00179/0.00179, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9752/0.9765, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1906/1.167, allocations: 161.6 MB / 1.246 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005127/1.172, allocations: 3.626 MB / 1.249 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003781/1.173, allocations: 11.94 kB / 1.249 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000567/1.173, allocations: 162.9 kB / 1.249 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/1.175, allocations: 0.5301 MB / 1.25 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/1.176, allocations: 438.2 kB / 1.25 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00267/1.179, allocations: 2.539 MB / 1.253 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/1.18, allocations: 0.9411 MB / 1.254 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/1.182, allocations: 1.035 MB / 1.255 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/1.183, allocations: 0.7117 MB / 1.255 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/1.183, allocations: 52 kB / 1.256 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/1.184, allocations: 0.7445 MB / 1.256 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/1.185, allocations: 298.9 kB / 1.257 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007875/1.186, allocations: 0.5479 MB / 1.257 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/1.187, allocations: 1.396 MB / 1.258 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.187, allocations: 4 kB / 1.258 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/1.187, allocations: 0 / 1.258 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.501e-05/1.187, allocations: 0 / 1.258 GB, free: 15.11 MB / 0.9981 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.002431/1.19, allocations: 1.451 MB / 1.26 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.19, allocations: 16.02 kB / 1.26 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000847/1.191, allocations: 186.5 kB / 1.26 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.192, allocations: 0.8491 MB / 1.261 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/1.192, allocations: 41 kB / 1.261 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/1.192, allocations: 64 kB / 1.261 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/1.193, allocations: 0.7887 MB / 1.262 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/1.193, allocations: 0 / 1.262 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/1.193, allocations: 24 kB / 1.262 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/1.193, allocations: 12 kB / 1.262 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009752/1.194, allocations: 0.5383 MB / 1.262 GB, free: 10.95 MB / 0.9981 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.004196/1.199, allocations: 4.591 MB / 1.267 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/1.199, allocations: 430.6 kB / 1.267 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/1.2, allocations: 240.7 kB / 1.267 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/1.2, allocations: 198.2 kB / 1.268 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005145/1.201, allocations: 293.1 kB / 1.268 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 4.508e-06/1.201, allocations: 4 kB / 1.268 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.004984/1.206, allocations: 1.645 MB / 1.27 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/1.206, allocations: 81.11 kB / 1.27 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.207, allocations: 1.122 MB / 1.271 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/1.207, allocations: 37.7 kB / 1.271 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/1.208, allocations: 488.2 kB / 1.271 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.208, allocations: 118.4 kB / 1.271 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/1.208, allocations: 113.9 kB / 1.271 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.208, allocations: 326 kB / 1.272 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/1.208, allocations: 214.4 kB / 1.272 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/1.209, allocations: 0.5135 MB / 1.272 GB, free: 15.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008877/1.21, allocations: 0.6307 MB / 1.273 GB, free: 15.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.21, allocations: 0 / 1.273 GB, free: 15.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002185/1.212, allocations: 1.034 MB / 1.274 GB, free: 14.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/1.212, allocations: 41.69 kB / 1.274 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.212, allocations: 8 kB / 1.274 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/1.213, allocations: 372.8 kB / 1.274 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/1.214, allocations: 67.84 kB / 1.275 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/1.215, allocations: 1.076 MB / 1.276 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/1.216, allocations: 75.39 kB / 1.276 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/1.216, allocations: 31.88 kB / 1.276 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006714/1.216, allocations: 0.5045 MB / 1.276 GB, free: 11.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000523/1.217, allocations: 494 kB / 1.277 GB, free: 11.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007267/1.218, allocations: 0.5567 MB / 1.277 GB, free: 10.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/1.218, allocations: 4.188 kB / 1.277 GB, free: 10.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001439/1.219, allocations: 0.8299 MB / 1.278 GB, free: 9.844 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.219, allocations: 41.62 kB / 1.278 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.219, allocations: 8 kB / 1.278 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/1.22, allocations: 215.7 kB / 1.278 GB, free: 9.578 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/1.22, allocations: 59.91 kB / 1.278 GB, free: 9.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/1.224, allocations: 3.269 MB / 1.282 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/1.224, allocations: 75.89 kB / 1.282 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/1.225, allocations: 20 kB / 1.282 GB, free: 6.004 MB / 1.014 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.0001876/1.225, allocations: 220 kB / 1.282 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/1.225, allocations: 98.78 kB / 1.282 GB, free: 5.684 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.226, allocations: 0.7025 MB / 1.283 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.226, allocations: 8 kB / 1.283 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/1.226, allocations: 0 / 1.283 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.226, allocations: 0 / 1.283 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/1.229, allocations: 1.612 MB / 1.284 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.229, allocations: 0 / 1.284 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/1.229, allocations: 19.98 kB / 1.284 GB, free: 3.254 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/1.229, allocations: 242.7 kB / 1.284 GB, free: 3.016 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/1.23, allocations: 11.94 kB / 1.284 GB, free: 3.004 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009791/1.231, allocations: 1.031 MB / 1.285 GB, free: 1.949 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.231, allocations: 3.984 kB / 1.285 GB, free: 1.945 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/1.232, allocations: 0.8255 MB / 1.286 GB, free: 1.078 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/1.232, allocations: 215.8 kB / 1.286 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/1.232, allocations: 8 kB / 1.286 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/1.233, allocations: 23.97 kB / 1.286 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/1.233, allocations: 35.84 kB / 1.287 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/1.233, allocations: 19.98 kB / 1.287 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001098/1.234, allocations: 0.7838 MB / 1.287 GB, free: 15.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.234, allocations: 3.938 kB / 1.287 GB, free: 15.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001304/1.235, allocations: 439.4 kB / 1.288 GB, free: 15.54 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 (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.0004042/1.236, allocations: 165.7 kB / 1.288 GB, free: 15.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002479/1.238, allocations: 1.208 MB / 1.289 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.238, allocations: 0 / 1.289 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006136/1.239, allocations: 285 kB / 1.289 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/1.241, allocations: 465.7 kB / 1.29 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/1.243, allocations: 1.78 MB / 1.292 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/1.244, allocations: 1.184 MB / 1.293 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007199/1.245, allocations: 315.8 kB / 1.293 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/1.245, allocations: 63.44 kB / 1.293 GB, free: 9.988 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/1.245, allocations: 0 / 1.293 GB, free: 9.988 MB / 1.029 GB Notification: Performance of Templates: time 0.03205/1.277, allocations: 19.41 MB / 1.312 GB, free: 6.781 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches