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.001232/0.001232, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001332/0.001332, allocations: 192.3 kB / 16.91 MB, free: 6.18 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.183/2.183, allocations: 390.3 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 64.36 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.267, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.7733/1.04, allocations: 159.4 MB / 1.105 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005799/1.046, allocations: 3.593 MB / 1.109 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000476/1.047, allocations: 11.53 kB / 1.109 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006217/1.047, allocations: 142.7 kB / 1.109 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/1.049, allocations: 0.4936 MB / 1.11 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/1.05, allocations: 396.6 kB / 1.11 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003482/1.054, allocations: 2.57 MB / 1.112 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/1.055, allocations: 0.8988 MB / 1.113 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/1.059, allocations: 1.065 MB / 1.114 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/1.06, allocations: 0.7544 MB / 1.115 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/1.06, allocations: 55.03 kB / 1.115 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/1.063, allocations: 0.7573 MB / 1.116 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006418/1.063, allocations: 312.1 kB / 1.116 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/1.065, allocations: 0.5385 MB / 1.117 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/1.066, allocations: 1.045 MB / 1.118 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.066, allocations: 0 / 1.118 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/1.066, allocations: 0 / 1.118 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.731e-05/1.067, allocations: 3.938 kB / 1.118 GB, free: 5.715 MB / 0.8575 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.002967/1.069, allocations: 1.452 MB / 1.119 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.07, allocations: 10.22 kB / 1.119 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008646/1.07, allocations: 190.5 kB / 1.119 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/1.072, allocations: 0.806 MB / 1.12 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/1.072, allocations: 43.59 kB / 1.12 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.072, allocations: 60.42 kB / 1.12 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/1.073, allocations: 0.7888 MB / 1.121 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/1.073, allocations: 1.125 kB / 1.121 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/1.073, allocations: 23.69 kB / 1.121 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/1.074, allocations: 16.14 kB / 1.121 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/1.075, allocations: 0.5336 MB / 1.122 GB, free: 20.2 MB / 0.8731 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.004739/1.079, allocations: 4.588 MB / 1.126 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/1.08, allocations: 419.1 kB / 1.126 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/1.08, allocations: 253.1 kB / 1.127 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/1.081, allocations: 193.6 kB / 1.127 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/1.081, allocations: 300.7 kB / 1.127 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/1.081, allocations: 0 / 1.127 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.004972/1.086, allocations: 1.643 MB / 1.129 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.086, allocations: 87.44 kB / 1.129 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/1.088, allocations: 1.112 MB / 1.13 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.789e-05/1.088, allocations: 41.95 kB / 1.13 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/1.088, allocations: 496.9 kB / 1.13 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/1.088, allocations: 109.9 kB / 1.131 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/1.089, allocations: 110.1 kB / 1.131 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.089, allocations: 320.9 kB / 1.131 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/1.089, allocations: 212.4 kB / 1.131 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/1.09, allocations: 0.5236 MB / 1.132 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/1.09, allocations: 0.6412 MB / 1.132 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.09, allocations: 2.219 kB / 1.132 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002235/1.093, allocations: 1.038 MB / 1.133 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/1.093, allocations: 34.02 kB / 1.133 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.093, allocations: 6.5 kB / 1.133 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/1.094, allocations: 382.2 kB / 1.134 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/1.094, allocations: 60.53 kB / 1.134 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/1.096, allocations: 1.082 MB / 1.135 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/1.097, allocations: 96.36 kB / 1.135 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/1.097, allocations: 26.09 kB / 1.135 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007972/1.097, allocations: 0.4984 MB / 1.135 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000455/1.098, allocations: 494.2 kB / 1.136 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006586/1.099, allocations: 0.5578 MB / 1.136 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.62e-06/1.099, allocations: 2.156 kB / 1.136 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001498/1.1, allocations: 0.838 MB / 1.137 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/1.1, allocations: 37.45 kB / 1.137 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.1, allocations: 9.344 kB / 1.137 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/1.101, allocations: 218.5 kB / 1.138 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/1.101, allocations: 68.17 kB / 1.138 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/1.105, allocations: 3.257 MB / 1.141 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/1.106, allocations: 92.95 kB / 1.141 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/1.106, allocations: 23.16 kB / 1.141 GB, free: 11.4 MB / 0.8731 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.0003066/1.106, allocations: 215.9 kB / 1.141 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/1.106, allocations: 98.47 kB / 1.141 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/1.108, allocations: 0.7045 MB / 1.142 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.108, allocations: 7.625 kB / 1.142 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.108, allocations: 1.469 kB / 1.142 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.108, allocations: 3.047 kB / 1.142 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/1.11, allocations: 1.603 MB / 1.143 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/1.11, allocations: 2.375 kB / 1.143 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/1.111, allocations: 21.2 kB / 1.143 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005281/1.111, allocations: 258.1 kB / 1.144 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/1.111, allocations: 12.19 kB / 1.144 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/1.112, allocations: 1.025 MB / 1.145 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.112, allocations: 2.375 kB / 1.145 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/1.113, allocations: 0.8264 MB / 1.146 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/1.114, allocations: 223.5 kB / 1.146 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/1.114, allocations: 11.38 kB / 1.146 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005481/1.115, allocations: 43.64 kB / 1.146 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.115, allocations: 35.27 kB / 1.146 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/1.115, allocations: 12.31 kB / 1.146 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001259/1.116, allocations: 0.7911 MB / 1.147 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.102e-06/1.116, allocations: 0 / 1.147 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001593/1.118, allocations: 441.6 kB / 1.147 GB, free: 9.406 MB / 0.8731 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.0004779/1.118, allocations: 180.6 kB / 1.147 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002591/1.121, allocations: 1.215 MB / 1.148 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.121, allocations: 0 / 1.148 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/1.121, allocations: 287.3 kB / 1.149 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/1.123, allocations: 453.7 kB / 1.149 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/1.127, allocations: 2.119 MB / 1.151 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/1.127, allocations: 1.182 MB / 1.152 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/1.128, allocations: 64.84 kB / 1.152 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of SimCode: time 1.102e-06/1.128, allocations: 0 / 1.152 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of Templates: time 0.03496/1.163, allocations: 20.47 MB / 1.172 GB, free: 15.27 MB / 0.8887 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