Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001077/0.001078, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009826/0.0009826, allocations: 177.3 kB / 15.95 MB, free: 216 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.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.578/2.578, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6341/0.6345, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1393/0.7738, allocations: 135.7 MB / 1.153 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.7765, allocations: 1.684 MB / 1.155 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.7768, allocations: 11.94 kB / 1.155 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.7773, allocations: 183.1 kB / 1.155 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.7785, allocations: 0.4947 MB / 1.156 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.7795, allocations: 409.3 kB / 1.156 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001822/0.7814, allocations: 1.498 MB / 1.158 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008779/0.7823, allocations: 0.6995 MB / 1.158 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.7833, allocations: 0.6929 MB / 1.159 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.7838, allocations: 497.8 kB / 1.159 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.023e-05/0.7839, allocations: 36 kB / 1.159 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.7848, allocations: 415.4 kB / 1.16 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.785, allocations: 259.1 kB / 1.16 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.7852, allocations: 237.1 kB / 1.16 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.7861, allocations: 0.9626 MB / 1.161 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.7861, allocations: 0 / 1.161 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7861, allocations: 0 / 1.161 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.7862, allocations: 0 / 1.161 GB, free: 1.004 MB / 0.9044 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.001968/0.7881, allocations: 1.288 MB / 1.162 GB, free: 15.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.7882, allocations: 12.03 kB / 1.162 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000721/0.7889, allocations: 182.5 kB / 1.163 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.7903, allocations: 0.8001 MB / 1.163 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.7904, allocations: 41 kB / 1.163 GB, free: 14.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.7905, allocations: 60 kB / 1.164 GB, free: 14.51 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.7916, allocations: 0.7888 MB / 1.164 GB, free: 13.64 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.105e-05/0.7916, allocations: 7.938 kB / 1.164 GB, free: 13.64 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.7917, allocations: 23.95 kB / 1.164 GB, free: 13.61 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.7917, allocations: 16 kB / 1.164 GB, free: 13.6 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009229/0.7926, allocations: 0.5461 MB / 1.165 GB, free: 13.05 MB / 0.92 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.003719/0.7964, allocations: 4.591 MB / 1.169 GB, free: 8.078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.7971, allocations: 438.3 kB / 1.17 GB, free: 7.641 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/0.7972, allocations: 15.98 kB / 1.17 GB, free: 7.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004651/0.7976, allocations: 309.5 kB / 1.17 GB, free: 7.301 MB / 0.92 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.7977, allocations: 4 kB / 1.17 GB, free: 7.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=31): time 0.001323/0.799, allocations: 0.6452 MB / 1.171 GB, free: 6.645 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.7991, allocations: 106.8 kB / 1.171 GB, free: 6.516 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.8003, allocations: 1.11 MB / 1.172 GB, free: 5.387 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.8004, allocations: 37.7 kB / 1.172 GB, free: 5.344 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.8007, allocations: 492.2 kB / 1.172 GB, free: 4.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.742e-05/0.8008, allocations: 106.5 kB / 1.172 GB, free: 4.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.417e-05/0.8009, allocations: 8 kB / 1.172 GB, free: 4.742 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.801, allocations: 334 kB / 1.173 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.8013, allocations: 180.7 kB / 1.173 GB, free: 4.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.8019, allocations: 0.4979 MB / 1.173 GB, free: 3.598 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.8023, allocations: 298.3 kB / 1.174 GB, free: 3.301 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.8023, allocations: 4 kB / 1.174 GB, free: 3.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001056/0.8034, allocations: 0.6714 MB / 1.174 GB, free: 2.613 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000716/0.8041, allocations: 2.133 MB / 1.177 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.8041, allocations: 8 kB / 1.177 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.8042, allocations: 8 kB / 1.177 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.8061, allocations: 391.4 kB / 1.177 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.8092, allocations: 6.091 MB / 1.183 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/0.81, allocations: 111.4 kB / 1.183 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.8101, allocations: 24 kB / 1.183 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.8101, allocations: 4 kB / 1.183 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008774/0.811, allocations: 0.536 MB / 1.183 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.811, allocations: 8 kB / 1.184 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.811, allocations: 8 kB / 1.184 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.8116, allocations: 160.4 kB / 1.184 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.8116, allocations: 12.09 kB / 1.184 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.8122, allocations: 99.42 kB / 1.184 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.8123, allocations: 27.98 kB / 1.184 GB, free: 8.602 MB / 0.9356 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.0004998/0.8128, allocations: 472.7 kB / 1.184 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.8129, allocations: 98.78 kB / 1.184 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.8137, allocations: 484.8 kB / 1.185 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.8137, allocations: 4 kB / 1.185 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8137, allocations: 0 / 1.185 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.8138, allocations: 7.953 kB / 1.185 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.8152, allocations: 1.087 MB / 1.186 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.8152, allocations: 4 kB / 1.186 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.8159, allocations: 163.7 kB / 1.186 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.8159, allocations: 4 kB / 1.186 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.8159, allocations: 8 kB / 1.186 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/0.8185, allocations: 6.021 MB / 1.192 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.8186, allocations: 7.969 kB / 1.192 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008405/0.8194, allocations: 0.6403 MB / 1.193 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.8198, allocations: 223.8 kB / 1.193 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.8199, allocations: 8 kB / 1.193 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.8204, allocations: 55.8 kB / 1.193 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.8205, allocations: 35.84 kB / 1.193 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.8205, allocations: 8 kB / 1.193 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009468/0.8214, allocations: 0.7914 MB / 1.194 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8215, allocations: 0 / 1.194 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001052/0.8225, allocations: 403.4 kB / 1.194 GB, free: 13.68 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.0003787/0.8229, allocations: 176.9 kB / 1.194 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003079/0.826, allocations: 1.101 MB / 1.195 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.826, allocations: 0 / 1.195 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008346/0.8268, allocations: 300.6 kB / 1.196 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.8289, allocations: 458.4 kB / 1.196 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.8319, allocations: 2.012 MB / 1.198 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.8326, allocations: 1.204 MB / 1.199 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009853/0.8336, allocations: 375.5 kB / 1.2 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.8338, allocations: 67.42 kB / 1.2 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.8338, allocations: 0 / 1.2 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of Templates: time 0.0276/0.8614, allocations: 16.75 MB / 1.216 GB, free: 7.355 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches