Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 92.39 kB / 16.02 MB, free: 80 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.001186/0.001186, allocations: 179.5 kB / 16.92 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.285 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.579/2.579, allocations: 437.8 MB / 0.7128 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 12 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6311, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1641/0.7952, allocations: 157.3 MB / 1.177 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.7982, allocations: 1.761 MB / 1.179 GB, free: 224 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.7985, allocations: 7.938 kB / 1.179 GB, free: 216 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.7991, allocations: 131.2 kB / 1.179 GB, free: 84 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.8005, allocations: 0.4941 MB / 1.18 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.8015, allocations: 350.9 kB / 1.18 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003183/0.8047, allocations: 3.467 MB / 1.183 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.8057, allocations: 0.7543 MB / 1.184 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.8073, allocations: 0.8986 MB / 1.185 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008557/0.8082, allocations: 0.7155 MB / 1.186 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.8083, allocations: 32 kB / 1.186 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.8096, allocations: 0.799 MB / 1.186 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.8099, allocations: 290.8 kB / 1.187 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.8105, allocations: 0.5222 MB / 1.187 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.8115, allocations: 1.009 MB / 1.188 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8115, allocations: 3.938 kB / 1.188 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8115, allocations: 0 / 1.188 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.8115, allocations: 0 / 1.188 GB, free: 6.719 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001863/0.8134, allocations: 1.256 MB / 1.189 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.8135, allocations: 8.031 kB / 1.189 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000722/0.8142, allocations: 194.4 kB / 1.19 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.8153, allocations: 0.7983 MB / 1.19 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.8154, allocations: 49 kB / 1.191 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.653e-05/0.8155, allocations: 56 kB / 1.191 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.8166, allocations: 0.7966 MB / 1.191 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.8166, allocations: 7.938 kB / 1.191 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.8167, allocations: 20 kB / 1.191 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.8167, allocations: 16 kB / 1.191 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.8176, allocations: 0.5423 MB / 1.192 GB, free: 2.781 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.003807/0.8214, allocations: 4.595 MB / 1.196 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.8221, allocations: 430.2 kB / 1.197 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.8225, allocations: 250.2 kB / 1.197 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.8228, allocations: 202.2 kB / 1.197 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.8233, allocations: 293 kB / 1.198 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.8233, allocations: 0 / 1.198 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.001339/0.8246, allocations: 0.653 MB / 1.198 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.8247, allocations: 85.11 kB / 1.198 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.8263, allocations: 1.114 MB / 1.199 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.8263, allocations: 33.7 kB / 1.199 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/0.8269, allocations: 0.4921 MB / 1.2 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.827, allocations: 106.5 kB / 1.2 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.8271, allocations: 37.7 kB / 1.2 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8273, allocations: 334.1 kB / 1.2 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.8278, allocations: 220.6 kB / 1.201 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008245/0.8287, allocations: 0.5252 MB / 1.201 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.8297, allocations: 0.6445 MB / 1.202 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8297, allocations: 0 / 1.202 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001277/0.831, allocations: 0.7358 MB / 1.202 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.8312, allocations: 275 kB / 1.203 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8312, allocations: 4 kB / 1.203 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.8313, allocations: 15.88 kB / 1.203 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.8317, allocations: 103.9 kB / 1.203 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.8317, allocations: 19.91 kB / 1.203 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.8324, allocations: 95.47 kB / 1.203 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.8325, allocations: 24 kB / 1.203 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.8325, allocations: 9.719 kB / 1.203 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008672/0.8334, allocations: 0.536 MB / 1.203 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8334, allocations: 4 kB / 1.203 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.8334, allocations: 8 kB / 1.203 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.8337, allocations: 108.5 kB / 1.204 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.8338, allocations: 15.92 kB / 1.204 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.8344, allocations: 95.53 kB / 1.204 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.8344, allocations: 20 kB / 1.204 GB, free: 5.922 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 (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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005395/0.835, allocations: 468.6 kB / 1.204 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.8351, allocations: 102.8 kB / 1.204 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008742/0.836, allocations: 0.4951 MB / 1.205 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.836, allocations: 8.312 kB / 1.205 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.836, allocations: 0 / 1.205 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.836, allocations: 3.984 kB / 1.205 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.8379, allocations: 1.395 MB / 1.206 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.8379, allocations: 7.984 kB / 1.206 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.8382, allocations: 63.89 kB / 1.206 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.8382, allocations: 11.88 kB / 1.206 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.8382, allocations: 11.98 kB / 1.206 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.8382, allocations: 4 kB / 1.206 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8382, allocations: 0 / 1.206 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008146/0.8391, allocations: 0.6204 MB / 1.207 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.8393, allocations: 219.7 kB / 1.207 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.8394, allocations: 11.98 kB / 1.207 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.8399, allocations: 47.95 kB / 1.207 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.84, allocations: 31.84 kB / 1.207 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.84, allocations: 12 kB / 1.207 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009105/0.8409, allocations: 0.7914 MB / 1.208 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8409, allocations: 4 kB / 1.208 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001052/0.842, allocations: 403.4 kB / 1.208 GB, free: 1.074 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004479/0.8424, allocations: 172.6 kB / 1.208 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.8438, allocations: 0.8263 MB / 1.209 GB, free: 56 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8438, allocations: 0 / 1.209 GB, free: 56 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.8442, allocations: 203.6 kB / 1.209 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.8464, allocations: 461.3 kB / 1.21 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.8491, allocations: 2.103 MB / 1.212 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.8498, allocations: 1.177 MB / 1.213 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.85, allocations: 75.42 kB / 1.213 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.85, allocations: 0 / 1.213 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of Templates: time 0.02342/0.8734, allocations: 15.75 MB / 1.228 GB, free: 12.32 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches