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.001321/0.001321, allocations: 114 kB / 16.42 MB, free: 6.449 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.001343/0.001343, allocations: 192.4 kB / 17.35 MB, free: 5.734 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.31/1.31, allocations: 222.9 MB / 241.1 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.207/2.207, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6907, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1668/0.8575, allocations: 161.6 MB / 1.246 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004349/0.8619, allocations: 3.638 MB / 1.25 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.8621, allocations: 7.938 kB / 1.25 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.8626, allocations: 166.9 kB / 1.25 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.8638, allocations: 0.5484 MB / 1.251 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00098/0.8648, allocations: 442.4 kB / 1.251 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.8671, allocations: 2.543 MB / 1.254 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009438/0.8681, allocations: 0.9411 MB / 1.255 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.8693, allocations: 1.047 MB / 1.256 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007098/0.87, allocations: 0.7039 MB / 1.256 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.8702, allocations: 56 kB / 1.256 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.8713, allocations: 0.7445 MB / 1.257 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.8716, allocations: 310.9 kB / 1.257 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.8721, allocations: 0.5401 MB / 1.258 GB, free: 424 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.8734, allocations: 1.404 MB / 1.259 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8734, allocations: 0 / 1.259 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8734, allocations: 0 / 1.259 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.8734, allocations: 4 kB / 1.259 GB, free: 15 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.002044/0.8755, allocations: 1.451 MB / 1.261 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.8755, allocations: 11.97 kB / 1.261 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/0.8763, allocations: 186.5 kB / 1.261 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.8775, allocations: 0.8491 MB / 1.262 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.8776, allocations: 41 kB / 1.262 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/0.8777, allocations: 67.98 kB / 1.262 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.8787, allocations: 0.7849 MB / 1.263 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.8788, allocations: 3.938 kB / 1.263 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.8788, allocations: 28 kB / 1.263 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.8788, allocations: 12 kB / 1.263 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008707/0.8797, allocations: 0.5383 MB / 1.263 GB, free: 10.84 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.003605/0.8833, allocations: 4.587 MB / 1.268 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.884, allocations: 418.8 kB / 1.268 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.8844, allocations: 244.7 kB / 1.268 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.8847, allocations: 198.1 kB / 1.268 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004698/0.8852, allocations: 289.1 kB / 1.269 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.8852, allocations: 4 kB / 1.269 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.004758/0.8899, allocations: 1.653 MB / 1.27 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.89, allocations: 81.11 kB / 1.27 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.8912, allocations: 1.126 MB / 1.271 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.8912, allocations: 37.7 kB / 1.271 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.8916, allocations: 488.2 kB / 1.272 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.043e-05/0.8917, allocations: 106.5 kB / 1.272 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.8918, allocations: 117.9 kB / 1.272 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.8919, allocations: 322 kB / 1.272 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.8923, allocations: 214.4 kB / 1.273 GB, free: 476 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.8929, allocations: 0.5177 MB / 1.273 GB, free: 15.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008431/0.8937, allocations: 0.6266 MB / 1.274 GB, free: 15.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8937, allocations: 0 / 1.274 GB, free: 15.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002066/0.8958, allocations: 1.034 MB / 1.275 GB, free: 14.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.8958, allocations: 37.7 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8959, allocations: 7.984 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.8971, allocations: 383 kB / 1.275 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.8973, allocations: 59.89 kB / 1.275 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.8986, allocations: 1.077 MB / 1.276 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.8992, allocations: 87.34 kB / 1.276 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.8993, allocations: 19.98 kB / 1.276 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006519/0.8999, allocations: 0.5005 MB / 1.277 GB, free: 11.85 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005193/0.9004, allocations: 494 kB / 1.277 GB, free: 11.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007534/0.9012, allocations: 0.5683 MB / 1.278 GB, free: 10.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.478e-06/0.9012, allocations: 3.984 kB / 1.278 GB, free: 10.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001389/0.9026, allocations: 0.826 MB / 1.279 GB, free: 9.746 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.9027, allocations: 36.36 kB / 1.279 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.9027, allocations: 12.61 kB / 1.279 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/0.9032, allocations: 212.7 kB / 1.279 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.9034, allocations: 67.84 kB / 1.279 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/0.9068, allocations: 3.26 MB / 1.282 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.9074, allocations: 71.91 kB / 1.282 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.9075, allocations: 23.94 kB / 1.282 GB, free: 5.914 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.0001574/0.9076, allocations: 224.1 kB / 1.283 GB, free: 5.688 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.9078, allocations: 102.8 kB / 1.283 GB, free: 5.586 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.909, allocations: 0.6987 MB / 1.283 GB, free: 4.879 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.909, allocations: 3.984 kB / 1.283 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.909, allocations: 4 kB / 1.283 GB, free: 4.871 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.9093, allocations: 211.8 kB / 1.284 GB, free: 4.645 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.9094, allocations: 8 kB / 1.284 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.9098, allocations: 19.97 kB / 1.284 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.9099, allocations: 43.92 kB / 1.284 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00137/0.9113, allocations: 0.797 MB / 1.284 GB, free: 3.766 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001127/0.9124, allocations: 0.9231 MB / 1.285 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003083/0.9127, allocations: 183.8 kB / 1.285 GB, free: 2.645 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000875/0.9136, allocations: 0.7916 MB / 1.286 GB, free: 1.844 MB / 1.014 GB Notification: Performance of Backend: time 5.41e-07/0.9136, allocations: 0 / 1.286 GB, free: 1.844 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00296/0.9166, allocations: 1.289 MB / 1.287 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of SimCode: time 0.003656/0.9202, allocations: 2.68 MB / 1.29 GB, free: 13.8 MB / 1.029 GB Notification: Performance of Templates: time 0.02967/0.9499, allocations: 20.33 MB / 1.31 GB, free: 9.66 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/jenkins1/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