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.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.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.001162/0.001162, allocations: 91.45 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.001377/0.001377, 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.316 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.832/2.832, allocations: 437.8 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 11.94 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7258, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1616/0.8874, allocations: 146.7 MB / 1.166 GB, free: 12.88 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00486/0.8923, allocations: 3.379 MB / 1.169 GB, free: 9.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003934/0.8927, allocations: 11.94 kB / 1.169 GB, free: 9.484 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.8933, allocations: 111.2 kB / 1.169 GB, free: 9.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.895, allocations: 394.1 kB / 1.169 GB, free: 8.988 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.8964, allocations: 366.8 kB / 1.17 GB, free: 8.633 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003515/0.8999, allocations: 2.991 MB / 1.173 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.901, allocations: 0.6993 MB / 1.173 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.9027, allocations: 0.8598 MB / 1.174 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.9038, allocations: 0.7157 MB / 1.175 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.002e-05/0.9039, allocations: 36 kB / 1.175 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.9051, allocations: 0.5497 MB / 1.176 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003122/0.9055, allocations: 278.9 kB / 1.176 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.9058, allocations: 233.1 kB / 1.176 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.9069, allocations: 1.021 MB / 1.177 GB, free: 1.219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9069, allocations: 0 / 1.177 GB, free: 1.219 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.968e-06/0.9069, allocations: 0 / 1.177 GB, free: 1.219 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.9069, allocations: 3.938 kB / 1.177 GB, free: 1.215 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002054/0.909, allocations: 1.307 MB / 1.178 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.909, allocations: 8.031 kB / 1.178 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007636/0.9098, allocations: 182.5 kB / 1.179 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.9111, allocations: 0.808 MB / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.9112, allocations: 45 kB / 1.179 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.9113, allocations: 56 kB / 1.179 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.9124, allocations: 0.7966 MB / 1.18 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.9125, allocations: 3.938 kB / 1.18 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.9125, allocations: 27.94 kB / 1.18 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.9126, allocations: 12 kB / 1.18 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009071/0.9135, allocations: 0.5383 MB / 1.181 GB, free: 13.24 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.003849/0.9173, allocations: 4.607 MB / 1.185 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.918, allocations: 430.2 kB / 1.186 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.9184, allocations: 254.2 kB / 1.186 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.9187, allocations: 198.1 kB / 1.186 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/0.9192, allocations: 297.1 kB / 1.186 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.9192, allocations: 0 / 1.186 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31): time 0.00475/0.924, allocations: 1.666 MB / 1.188 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.9241, allocations: 81.11 kB / 1.188 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.9254, allocations: 1.114 MB / 1.189 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.9255, allocations: 33.7 kB / 1.189 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.9259, allocations: 0.4921 MB / 1.19 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.926, allocations: 110.5 kB / 1.19 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.926, allocations: 12 kB / 1.19 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9261, allocations: 325.9 kB / 1.19 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.9265, allocations: 184.7 kB / 1.19 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.927, allocations: 0.4981 MB / 1.191 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.9275, allocations: 299 kB / 1.191 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9275, allocations: 3.938 kB / 1.191 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002016/0.9295, allocations: 0.9833 MB / 1.192 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.9297, allocations: 288.3 kB / 1.192 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9297, allocations: 8 kB / 1.192 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.9309, allocations: 354.4 kB / 1.193 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.9312, allocations: 71.84 kB / 1.193 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.9325, allocations: 1.096 MB / 1.194 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/0.9333, allocations: 103.5 kB / 1.194 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.9334, allocations: 24 kB / 1.194 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.9334, allocations: 4 kB / 1.194 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.9347, allocations: 0.7362 MB / 1.195 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9347, allocations: 8.188 kB / 1.195 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005185/0.9352, allocations: 220.7 kB / 1.195 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.9354, allocations: 75.83 kB / 1.195 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.939, allocations: 3.02 MB / 1.198 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007731/0.9398, allocations: 95.55 kB / 1.198 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.9398, allocations: 27.98 kB / 1.198 GB, free: 10.64 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005851/0.9404, allocations: 468.7 kB / 1.198 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.9406, allocations: 98.78 kB / 1.199 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.9418, allocations: 0.7103 MB / 1.199 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9418, allocations: 4 kB / 1.199 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.9418, allocations: 0 / 1.199 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.9418, allocations: 4.172 kB / 1.199 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.9441, allocations: 1.621 MB / 1.201 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9441, allocations: 3.984 kB / 1.201 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.9443, allocations: 35.91 kB / 1.201 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.9448, allocations: 244 kB / 1.201 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.9448, allocations: 8 kB / 1.201 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000984/0.9458, allocations: 1.028 MB / 1.202 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9458, allocations: 0 / 1.202 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.947, allocations: 0.8605 MB / 1.203 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.9474, allocations: 219.8 kB / 1.203 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.9475, allocations: 11.98 kB / 1.203 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.948, allocations: 59.8 kB / 1.203 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.9481, allocations: 31.91 kB / 1.203 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.9481, allocations: 12 kB / 1.203 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00101/0.9491, allocations: 0.7877 MB / 1.204 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9492, allocations: 0 / 1.204 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001303/0.9505, allocations: 447.4 kB / 1.204 GB, free: 3.82 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003889/0.9509, allocations: 173.4 kB / 1.205 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.9531, allocations: 1.19 MB / 1.206 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.9531, allocations: 0 / 1.206 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005783/0.9537, allocations: 280.1 kB / 1.206 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.9555, allocations: 468.9 kB / 1.206 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.9582, allocations: 2.011 MB / 1.208 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.9589, allocations: 1.185 MB / 1.21 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008281/0.9597, allocations: 311.6 kB / 1.21 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.9599, allocations: 59.44 kB / 1.21 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of SimCode: time 7.81e-07/0.9599, allocations: 4 kB / 1.21 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of Templates: time 0.02949/0.9894, allocations: 17.94 MB / 1.227 GB, free: 12.29 MB / 0.9825 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