Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009955/0.0009957, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 185 kB / 16.92 MB, free: 6.75 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.371 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.506/2.506, allocations: 437.8 MB / 0.7128 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 16 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.744, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.162/0.906, allocations: 157.3 MB / 1.177 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005074/0.9111, allocations: 3.588 MB / 1.181 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.9116, allocations: 15.88 kB / 1.181 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005852/0.9122, allocations: 131.2 kB / 1.181 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.9136, allocations: 0.4979 MB / 1.181 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.9149, allocations: 386.9 kB / 1.182 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003418/0.9183, allocations: 3.495 MB / 1.185 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.9195, allocations: 0.7543 MB / 1.186 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.9215, allocations: 0.9024 MB / 1.187 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.9226, allocations: 0.7155 MB / 1.188 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.54e-05/0.9227, allocations: 32 kB / 1.188 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.9242, allocations: 0.799 MB / 1.188 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.9245, allocations: 290.8 kB / 1.189 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006302/0.9252, allocations: 0.5222 MB / 1.189 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.9263, allocations: 1.009 MB / 1.19 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.9263, allocations: 0 / 1.19 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9263, allocations: 0 / 1.19 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.9263, allocations: 4 kB / 1.19 GB, free: 4.809 MB / 0.9356 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.001946/0.9283, allocations: 1.264 MB / 1.191 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.9283, allocations: 8.031 kB / 1.191 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007354/0.9291, allocations: 198.4 kB / 1.192 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.9302, allocations: 0.7945 MB / 1.192 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.9302, allocations: 49 kB / 1.192 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.9303, allocations: 56 kB / 1.192 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.9315, allocations: 0.7927 MB / 1.193 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.9315, allocations: 7.938 kB / 1.193 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.9316, allocations: 20 kB / 1.193 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.9316, allocations: 19.94 kB / 1.193 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008736/0.9325, allocations: 0.5423 MB / 1.194 GB, free: 0.8633 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.004165/0.9367, allocations: 4.591 MB / 1.198 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007258/0.9374, allocations: 438.2 kB / 1.199 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.9378, allocations: 250.2 kB / 1.199 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.9381, allocations: 198.2 kB / 1.199 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.9387, allocations: 308.9 kB / 1.199 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.9387, allocations: 4 kB / 1.199 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.003826/0.9425, allocations: 1.342 MB / 1.201 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.9426, allocations: 85.11 kB / 1.201 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.944, allocations: 1.122 MB / 1.202 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.944, allocations: 37.7 kB / 1.202 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.9444, allocations: 492 kB / 1.202 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.9445, allocations: 110.5 kB / 1.203 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.9446, allocations: 41.7 kB / 1.203 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.9447, allocations: 322 kB / 1.203 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.9451, allocations: 216.7 kB / 1.203 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/0.9457, allocations: 0.533 MB / 1.204 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008341/0.9465, allocations: 0.6401 MB / 1.204 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.9465, allocations: 4 kB / 1.204 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002214/0.9488, allocations: 1.044 MB / 1.205 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.9489, allocations: 279.1 kB / 1.205 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.949, allocations: 4 kB / 1.206 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.9503, allocations: 368.3 kB / 1.206 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.9505, allocations: 59.91 kB / 1.206 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00099/0.9515, allocations: 1.017 MB / 1.207 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.9524, allocations: 99.44 kB / 1.207 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.9524, allocations: 24 kB / 1.207 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.9524, allocations: 4 kB / 1.207 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/0.9538, allocations: 0.7244 MB / 1.208 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.9538, allocations: 11.94 kB / 1.208 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004991/0.9543, allocations: 210.4 kB / 1.208 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.9545, allocations: 63.91 kB / 1.208 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.958, allocations: 3.087 MB / 1.211 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/0.9588, allocations: 95.47 kB / 1.211 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.9589, allocations: 27.94 kB / 1.211 GB, free: 14.04 MB / 0.9669 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006131/0.9595, allocations: 468.7 kB / 1.212 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.9597, allocations: 98.78 kB / 1.212 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.961, allocations: 0.7218 MB / 1.212 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.961, allocations: 4 kB / 1.212 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.961, allocations: 4 kB / 1.212 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.961, allocations: 0 / 1.212 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.9634, allocations: 1.617 MB / 1.214 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.9635, allocations: 0 / 1.214 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.9636, allocations: 31.91 kB / 1.214 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.964, allocations: 222.1 kB / 1.214 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.9641, allocations: 8 kB / 1.214 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008587/0.9649, allocations: 0.9873 MB / 1.215 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.965, allocations: 0 / 1.215 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.9662, allocations: 0.8447 MB / 1.216 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.9666, allocations: 219.8 kB / 1.216 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.494e-05/0.9667, allocations: 8 kB / 1.216 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.9672, allocations: 51.89 kB / 1.216 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.9673, allocations: 31.89 kB / 1.216 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.9673, allocations: 8 kB / 1.216 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009843/0.9683, allocations: 0.7955 MB / 1.217 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9683, allocations: 0 / 1.217 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00128/0.9696, allocations: 447.4 kB / 1.218 GB, free: 7.301 MB / 0.9669 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 {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004625/0.9701, allocations: 181.5 kB / 1.218 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.972, allocations: 1.076 MB / 1.219 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.9721, allocations: 4 kB / 1.219 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.9726, allocations: 238.8 kB / 1.219 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/0.9751, allocations: 461.8 kB / 1.219 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.9784, allocations: 2.121 MB / 1.221 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.9791, allocations: 1.181 MB / 1.223 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.9793, allocations: 67.42 kB / 1.223 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/0.9793, allocations: 0 / 1.223 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of Templates: time 0.0305/1.01, allocations: 20.22 MB / 1.242 GB, free: 13.74 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches