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.00152/0.00152, allocations: 108 kB / 16.41 MB, free: 6.027 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.001706/0.001706, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.18 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.23/2.23, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.00161, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8824/0.8841, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.2082/1.092, allocations: 161.6 MB / 1.246 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005688/1.098, allocations: 3.631 MB / 1.25 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005789/1.099, allocations: 11.94 kB / 1.25 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007671/1.099, allocations: 166.9 kB / 1.25 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/1.101, allocations: 0.5484 MB / 1.251 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/1.103, allocations: 442.6 kB / 1.251 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003131/1.106, allocations: 2.546 MB / 1.254 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/1.108, allocations: 0.9372 MB / 1.255 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/1.11, allocations: 1.039 MB / 1.256 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/1.111, allocations: 0.7195 MB / 1.256 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002259/1.111, allocations: 56 kB / 1.256 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/1.113, allocations: 0.7445 MB / 1.257 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005/1.113, allocations: 306.9 kB / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/1.114, allocations: 0.5401 MB / 1.258 GB, free: 440 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/1.117, allocations: 1.404 MB / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.117, allocations: 0 / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.117, allocations: 0 / 1.259 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.649e-05/1.117, allocations: 0 / 1.259 GB, free: 15.02 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.002817/1.12, allocations: 1.455 MB / 1.261 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.12, allocations: 8.031 kB / 1.261 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008502/1.121, allocations: 190.5 kB / 1.261 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/1.122, allocations: 0.8491 MB / 1.262 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/1.122, allocations: 45 kB / 1.262 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/1.122, allocations: 60 kB / 1.262 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/1.123, allocations: 0.7887 MB / 1.263 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.123, allocations: 3.938 kB / 1.263 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/1.123, allocations: 24 kB / 1.263 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/1.123, allocations: 12 kB / 1.263 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008952/1.124, allocations: 0.5422 MB / 1.263 GB, free: 10.86 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.004105/1.128, allocations: 4.587 MB / 1.268 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/1.129, allocations: 426.7 kB / 1.268 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/1.129, allocations: 240.7 kB / 1.268 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/1.13, allocations: 198.2 kB / 1.268 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/1.13, allocations: 297 kB / 1.269 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/1.13, allocations: 0 / 1.269 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.004949/1.135, allocations: 1.641 MB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/1.135, allocations: 85.11 kB / 1.27 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/1.137, allocations: 1.126 MB / 1.271 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/1.137, allocations: 33.7 kB / 1.271 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/1.137, allocations: 488.2 kB / 1.272 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.924e-05/1.137, allocations: 110.5 kB / 1.272 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/1.138, allocations: 117.9 kB / 1.272 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.138, allocations: 322 kB / 1.272 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/1.138, allocations: 222.4 kB / 1.273 GB, free: 484 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/1.139, allocations: 0.5135 MB / 1.273 GB, free: 15.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008629/1.14, allocations: 0.6266 MB / 1.274 GB, free: 15.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.14, allocations: 0 / 1.274 GB, free: 15.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002178/1.142, allocations: 1.042 MB / 1.275 GB, free: 14.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/1.142, allocations: 33.7 kB / 1.275 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.142, allocations: 4 kB / 1.275 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/1.143, allocations: 374.4 kB / 1.275 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/1.143, allocations: 59.84 kB / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/1.145, allocations: 1.085 MB / 1.276 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/1.146, allocations: 83.52 kB / 1.276 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/1.146, allocations: 27.94 kB / 1.276 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007338/1.146, allocations: 0.4966 MB / 1.277 GB, free: 11.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005404/1.147, allocations: 498 kB / 1.277 GB, free: 11.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00075/1.148, allocations: 0.5683 MB / 1.278 GB, free: 10.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.105e-06/1.148, allocations: 0 / 1.278 GB, free: 10.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001489/1.149, allocations: 0.8302 MB / 1.279 GB, free: 9.754 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/1.149, allocations: 33.7 kB / 1.279 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.149, allocations: 8 kB / 1.279 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/1.15, allocations: 216.9 kB / 1.279 GB, free: 9.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/1.15, allocations: 59.91 kB / 1.279 GB, free: 9.434 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/1.154, allocations: 3.257 MB / 1.282 GB, free: 6.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/1.154, allocations: 75.97 kB / 1.282 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/1.154, allocations: 24 kB / 1.282 GB, free: 5.93 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.0002328/1.155, allocations: 223.9 kB / 1.283 GB, free: 5.703 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/1.155, allocations: 98.78 kB / 1.283 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/1.156, allocations: 0.6985 MB / 1.283 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.156, allocations: 4 kB / 1.283 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/1.156, allocations: 0 / 1.283 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.156, allocations: 4 kB / 1.283 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/1.159, allocations: 1.604 MB / 1.285 GB, free: 3.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.159, allocations: 0 / 1.285 GB, free: 3.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/1.159, allocations: 27.92 kB / 1.285 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004987/1.159, allocations: 246.8 kB / 1.285 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/1.159, allocations: 11.94 kB / 1.285 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/1.16, allocations: 1.031 MB / 1.286 GB, free: 1.871 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.16, allocations: 7.984 kB / 1.286 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.162, allocations: 0.8226 MB / 1.287 GB, free: 1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/1.162, allocations: 219.8 kB / 1.287 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.162, allocations: 11.94 kB / 1.287 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/1.162, allocations: 23.97 kB / 1.287 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/1.162, allocations: 27.91 kB / 1.287 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/1.163, allocations: 12 kB / 1.287 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001015/1.164, allocations: 0.7994 MB / 1.288 GB, free: 15.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.164, allocations: 4 kB / 1.288 GB, free: 15.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001235/1.165, allocations: 431.4 kB / 1.288 GB, free: 15.46 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.0004621/1.165, allocations: 178.1 kB / 1.289 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002546/1.168, allocations: 1.204 MB / 1.29 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.168, allocations: 0 / 1.29 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/1.168, allocations: 276.1 kB / 1.29 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1.17, allocations: 469.9 kB / 1.291 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/1.173, allocations: 1.829 MB / 1.292 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/1.174, allocations: 1.184 MB / 1.293 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/1.174, allocations: 63.44 kB / 1.294 GB, free: 10.16 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/1.174, allocations: 0 / 1.294 GB, free: 10.16 MB / 1.029 GB Notification: Performance of Templates: time 0.02938/1.204, allocations: 20.55 MB / 1.314 GB, free: 5.695 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