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.001221/0.001221, allocations: 106.1 kB / 16.36 MB, free: 6.34 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.001161/0.001161, allocations: 191.7 kB / 17.29 MB, free: 5.898 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.49/2.49, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 60.78 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2755, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7675/1.043, allocations: 161.6 MB / 1.177 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00352/1.047, allocations: 1.768 MB / 1.178 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/1.047, allocations: 11.62 kB / 1.178 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006668/1.048, allocations: 156.4 kB / 1.178 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/1.049, allocations: 0.5369 MB / 1.179 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/1.051, allocations: 393 kB / 1.179 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00363/1.054, allocations: 2.523 MB / 1.182 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/1.056, allocations: 0.9284 MB / 1.183 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/1.058, allocations: 1.034 MB / 1.184 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/1.059, allocations: 0.7054 MB / 1.184 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/1.059, allocations: 54.31 kB / 1.185 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/1.061, allocations: 0.7429 MB / 1.185 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/1.061, allocations: 304 kB / 1.186 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007717/1.062, allocations: 0.5454 MB / 1.186 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/1.064, allocations: 1.391 MB / 1.187 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.064, allocations: 2.625 kB / 1.187 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/1.064, allocations: 0 / 1.187 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.869e-05/1.064, allocations: 4 kB / 1.187 GB, free: 5.301 MB / 0.8887 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.002359/1.066, allocations: 1.444 MB / 1.189 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.066, allocations: 10.88 kB / 1.189 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007941/1.067, allocations: 187.5 kB / 1.189 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/1.069, allocations: 0.8467 MB / 1.19 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/1.069, allocations: 46.97 kB / 1.19 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/1.069, allocations: 57.19 kB / 1.19 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.07, allocations: 0.7945 MB / 1.191 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/1.07, allocations: 3.984 kB / 1.191 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/1.07, allocations: 27.27 kB / 1.191 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/1.07, allocations: 15.25 kB / 1.191 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/1.071, allocations: 0.5362 MB / 1.191 GB, free: 2.582 MB / 0.8887 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.004473/1.075, allocations: 4.587 MB / 1.196 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000701/1.076, allocations: 410.6 kB / 1.196 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/1.077, allocations: 247.8 kB / 1.196 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/1.077, allocations: 199.3 kB / 1.197 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004789/1.077, allocations: 289.1 kB / 1.197 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/1.077, allocations: 0 / 1.197 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001349/1.079, allocations: 0.6339 MB / 1.197 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/1.079, allocations: 89.25 kB / 1.198 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/1.08, allocations: 1.114 MB / 1.199 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/1.08, allocations: 32.52 kB / 1.199 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/1.081, allocations: 490.7 kB / 1.199 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/1.081, allocations: 117.5 kB / 1.199 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.081, allocations: 114.5 kB / 1.199 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.081, allocations: 332.9 kB / 1.2 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/1.081, allocations: 215 kB / 1.2 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/1.082, allocations: 0.5198 MB / 1.2 GB, free: 11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/1.083, allocations: 0.6266 MB / 1.201 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.083, allocations: 2.469 kB / 1.201 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001177/1.084, allocations: 0.7182 MB / 1.202 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/1.084, allocations: 39.27 kB / 1.202 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.084, allocations: 9.891 kB / 1.202 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/1.084, allocations: 7.375 kB / 1.202 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/1.085, allocations: 111.1 kB / 1.202 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.907e-05/1.085, allocations: 17.67 kB / 1.202 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/1.085, allocations: 73.28 kB / 1.202 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/1.085, allocations: 29.92 kB / 1.202 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006872/1.086, allocations: 0.4942 MB / 1.202 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005183/1.087, allocations: 490.9 kB / 1.203 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007115/1.087, allocations: 0.5562 MB / 1.203 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/1.087, allocations: 0 / 1.203 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001031/1.088, allocations: 0.6491 MB / 1.204 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.088, allocations: 33.39 kB / 1.204 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.088, allocations: 5.594 kB / 1.204 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/1.088, allocations: 7.5 kB / 1.204 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/1.089, allocations: 109.7 kB / 1.204 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.089, allocations: 15.62 kB / 1.204 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006011/1.089, allocations: 66.3 kB / 1.204 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/1.089, allocations: 21.09 kB / 1.204 GB, free: 8.352 MB / 0.9044 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.0002009/1.09, allocations: 228.5 kB / 1.205 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/1.09, allocations: 98.22 kB / 1.205 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000886/1.091, allocations: 494.5 kB / 1.205 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/1.091, allocations: 5 kB / 1.205 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.091, allocations: 0 / 1.205 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.091, allocations: 0 / 1.205 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/1.093, allocations: 1.387 MB / 1.207 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.093, allocations: 0 / 1.207 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/1.093, allocations: 64.11 kB / 1.207 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/1.093, allocations: 6.688 kB / 1.207 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/1.093, allocations: 8.938 kB / 1.207 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/1.093, allocations: 5.781 kB / 1.207 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/1.093, allocations: 6.891 kB / 1.207 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/1.094, allocations: 0.6031 MB / 1.207 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/1.094, allocations: 214.1 kB / 1.207 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.095, allocations: 13.06 kB / 1.207 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/1.095, allocations: 26.09 kB / 1.207 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/1.095, allocations: 31.97 kB / 1.207 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/1.095, allocations: 10.19 kB / 1.207 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001021/1.096, allocations: 0.7972 MB / 1.208 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.096, allocations: 3.938 kB / 1.208 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001206/1.097, allocations: 403.4 kB / 1.209 GB, free: 5.188 MB / 0.9044 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.0004131/1.098, allocations: 182.6 kB / 1.209 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001397/1.099, allocations: 0.8161 MB / 1.21 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.099, allocations: 0 / 1.21 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/1.1, allocations: 206.1 kB / 1.21 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/1.101, allocations: 453.8 kB / 1.21 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/1.104, allocations: 1.728 MB / 1.212 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/1.105, allocations: 1.18 MB / 1.213 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008948/1.106, allocations: 411.7 kB / 1.213 GB, free: 136 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/1.106, allocations: 71.42 kB / 1.214 GB, free: 64 kB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/1.106, allocations: 4 kB / 1.214 GB, free: 60 kB / 0.9044 GB Notification: Performance of Templates: time 0.02873/1.134, allocations: 17.05 MB / 1.23 GB, free: 15.22 MB / 0.9356 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 -s cvode -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