Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001458/0.001458, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437.7 MB / 0.7117 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003566, allocations: 8 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8563/0.8567, allocations: 153.8 MB / 1.022 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1826/1.039, allocations: 146.8 MB / 1.166 GB, free: 12.94 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003152/1.043, allocations: 1.658 MB / 1.167 GB, free: 11.28 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/1.043, allocations: 15.88 kB / 1.167 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004987/1.043, allocations: 107.2 kB / 1.167 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/1.044, allocations: 386.2 kB / 1.168 GB, free: 10.78 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009355/1.045, allocations: 330.8 kB / 1.168 GB, free: 10.46 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002985/1.048, allocations: 2.977 MB / 1.171 GB, free: 7.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/1.049, allocations: 0.6876 MB / 1.172 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/1.051, allocations: 0.8793 MB / 1.173 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008412/1.052, allocations: 0.7001 MB / 1.173 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-05/1.052, allocations: 32 kB / 1.173 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/1.053, allocations: 0.5457 MB / 1.174 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/1.053, allocations: 290.9 kB / 1.174 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/1.054, allocations: 233.1 kB / 1.174 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/1.055, allocations: 1.017 MB / 1.175 GB, free: 3.074 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.055, allocations: 0 / 1.175 GB, free: 3.074 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.769e-06/1.055, allocations: 0 / 1.175 GB, free: 3.074 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.2e-05/1.055, allocations: 3.938 kB / 1.175 GB, free: 3.07 MB / 0.92 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.001998/1.057, allocations: 1.297 MB / 1.177 GB, free: 1.711 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.057, allocations: 12.03 kB / 1.177 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007106/1.058, allocations: 194.4 kB / 1.177 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/1.059, allocations: 0.7885 MB / 1.178 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/1.059, allocations: 41 kB / 1.178 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-05/1.059, allocations: 64 kB / 1.178 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.06, allocations: 0.8004 MB / 1.178 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/1.06, allocations: 0 / 1.178 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/1.06, allocations: 31.83 kB / 1.178 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/1.06, allocations: 12 kB / 1.178 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008895/1.061, allocations: 0.5423 MB / 1.179 GB, free: 15.1 MB / 0.9356 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.003889/1.065, allocations: 4.603 MB / 1.183 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/1.066, allocations: 422.2 kB / 1.184 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/1.066, allocations: 250.2 kB / 1.184 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/1.066, allocations: 194.2 kB / 1.184 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004988/1.067, allocations: 301 kB / 1.185 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/1.067, allocations: 0 / 1.185 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31): time 0.001362/1.068, allocations: 0.6434 MB / 1.185 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/1.068, allocations: 81.11 kB / 1.185 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.07, allocations: 1.118 MB / 1.186 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/1.07, allocations: 37.7 kB / 1.186 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/1.07, allocations: 499.9 kB / 1.187 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.692e-05/1.07, allocations: 110.5 kB / 1.187 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/1.07, allocations: 8 kB / 1.187 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.07, allocations: 322 kB / 1.187 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/1.071, allocations: 184.7 kB / 1.188 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/1.071, allocations: 0.502 MB / 1.188 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/1.072, allocations: 303 kB / 1.188 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.072, allocations: 3.938 kB / 1.188 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001069/1.073, allocations: 0.6824 MB / 1.189 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/1.073, allocations: 278.7 kB / 1.189 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.073, allocations: 8 kB / 1.189 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.073, allocations: 8 kB / 1.189 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/1.075, allocations: 379.4 kB / 1.19 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/1.078, allocations: 6.095 MB / 1.196 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008524/1.079, allocations: 111.5 kB / 1.196 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/1.079, allocations: 27.94 kB / 1.196 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.079, allocations: 4 kB / 1.196 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008952/1.08, allocations: 0.5249 MB / 1.196 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.08, allocations: 8 kB / 1.196 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/1.08, allocations: 12.06 kB / 1.196 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/1.081, allocations: 155.8 kB / 1.196 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.081, allocations: 15.92 kB / 1.196 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/1.081, allocations: 103.5 kB / 1.196 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/1.081, allocations: 23.98 kB / 1.197 GB, free: 12.18 MB / 0.9512 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005453/1.082, allocations: 472.6 kB / 1.197 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/1.082, allocations: 98.78 kB / 1.197 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008539/1.083, allocations: 0.495 MB / 1.198 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.083, allocations: 4 kB / 1.198 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.083, allocations: 0 / 1.198 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.083, allocations: 11.94 kB / 1.198 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/1.085, allocations: 1.394 MB / 1.199 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.085, allocations: 3.953 kB / 1.199 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/1.086, allocations: 147.8 kB / 1.199 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/1.086, allocations: 4 kB / 1.199 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/1.086, allocations: 11.98 kB / 1.199 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/1.089, allocations: 6.021 MB / 1.205 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.089, allocations: 4.031 kB / 1.205 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/1.089, allocations: 0.618 MB / 1.206 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/1.09, allocations: 219.8 kB / 1.206 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.09, allocations: 8 kB / 1.206 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/1.09, allocations: 59.78 kB / 1.206 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/1.091, allocations: 35.91 kB / 1.206 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/1.091, allocations: 8 kB / 1.206 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001221/1.092, allocations: 0.7953 MB / 1.207 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.6e-07/1.092, allocations: 0 / 1.207 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001336/1.093, allocations: 407.4 kB / 1.207 GB, free: 1 MB / 0.9512 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000486/1.094, allocations: 181.9 kB / 1.207 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003142/1.097, allocations: 1.102 MB / 1.208 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.097, allocations: 0 / 1.208 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008095/1.098, allocations: 304.1 kB / 1.209 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.1, allocations: 463.3 kB / 1.209 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/1.103, allocations: 2.023 MB / 1.211 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008181/1.104, allocations: 1.177 MB / 1.212 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001081/1.105, allocations: 375.5 kB / 1.213 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/1.105, allocations: 63.44 kB / 1.213 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of SimCode: time 1.242e-06/1.105, allocations: 4 kB / 1.213 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.02947/1.135, allocations: 16.77 MB / 1.229 GB, free: 10.64 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches