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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002047/0.002047, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.002227/0.002227, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.7107 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.12 kB / 0.8694 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2944, allocations: 151.6 MB / 1.017 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7305/1.025, allocations: 159.4 MB / 1.173 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003284/1.028, allocations: 1.76 MB / 1.175 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/1.029, allocations: 13.72 kB / 1.175 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005933/1.029, allocations: 136.9 kB / 1.175 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/1.031, allocations: 497.3 kB / 1.175 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/1.032, allocations: 361.4 kB / 1.176 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002968/1.035, allocations: 2.546 MB / 1.178 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/1.036, allocations: 0.893 MB / 1.179 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/1.039, allocations: 1.061 MB / 1.18 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/1.04, allocations: 0.7567 MB / 1.181 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/1.04, allocations: 54.88 kB / 1.181 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/1.042, allocations: 0.7595 MB / 1.182 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003472/1.042, allocations: 312 kB / 1.182 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007523/1.043, allocations: 0.5362 MB / 1.183 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/1.044, allocations: 1.042 MB / 1.184 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.044, allocations: 0 / 1.184 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.334e-06/1.044, allocations: 0 / 1.184 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.499e-05/1.044, allocations: 0 / 1.184 GB, free: 8.223 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.00239/1.046, allocations: 1.455 MB / 1.185 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.047, allocations: 8.156 kB / 1.185 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007863/1.047, allocations: 183.2 kB / 1.185 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/1.048, allocations: 0.8089 MB / 1.186 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/1.048, allocations: 47 kB / 1.186 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/1.049, allocations: 56.78 kB / 1.186 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/1.05, allocations: 0.7897 MB / 1.187 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/1.05, allocations: 5.344 kB / 1.187 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/1.05, allocations: 22.56 kB / 1.187 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/1.05, allocations: 13.94 kB / 1.187 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/1.051, allocations: 0.5376 MB / 1.187 GB, free: 5.523 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.003941/1.055, allocations: 4.583 MB / 1.192 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/1.055, allocations: 415.2 kB / 1.192 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/1.056, allocations: 245.7 kB / 1.193 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/1.056, allocations: 191.5 kB / 1.193 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/1.056, allocations: 302.2 kB / 1.193 GB, free: 500 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/1.056, allocations: 0 / 1.193 GB, free: 500 kB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.001288/1.058, allocations: 0.6301 MB / 1.194 GB, free: 180 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/1.058, allocations: 86.11 kB / 1.194 GB, free: 80 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/1.059, allocations: 1.117 MB / 1.195 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/1.059, allocations: 35.05 kB / 1.195 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/1.059, allocations: 0.4911 MB / 1.195 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.254e-05/1.06, allocations: 108 kB / 1.195 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.06, allocations: 108.6 kB / 1.195 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.06, allocations: 331.3 kB / 1.196 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/1.06, allocations: 213.6 kB / 1.196 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/1.061, allocations: 0.5195 MB / 1.197 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008143/1.062, allocations: 0.6398 MB / 1.197 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.062, allocations: 2.688 kB / 1.197 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001165/1.063, allocations: 0.7207 MB / 1.198 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/1.063, allocations: 37.05 kB / 1.198 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.063, allocations: 5.375 kB / 1.198 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.063, allocations: 7.562 kB / 1.198 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/1.063, allocations: 112.2 kB / 1.198 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.063, allocations: 8 kB / 1.198 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/1.064, allocations: 98.31 kB / 1.198 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/1.064, allocations: 24.47 kB / 1.198 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007157/1.065, allocations: 0.5018 MB / 1.199 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005079/1.065, allocations: 492.4 kB / 1.199 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006784/1.066, allocations: 0.5565 MB / 1.2 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/1.066, allocations: 0 / 1.2 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00101/1.067, allocations: 0.6424 MB / 1.2 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/1.067, allocations: 41.19 kB / 1.2 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.067, allocations: 8.688 kB / 1.2 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/1.067, allocations: 7.562 kB / 1.2 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/1.068, allocations: 99.7 kB / 1.2 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.068, allocations: 9.688 kB / 1.2 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/1.068, allocations: 94.61 kB / 1.201 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/1.068, allocations: 22.34 kB / 1.201 GB, free: 11.28 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.0002033/1.069, allocations: 216.5 kB / 1.201 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/1.069, allocations: 103.4 kB / 1.201 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008708/1.07, allocations: 0.4897 MB / 1.201 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.07, allocations: 2.031 kB / 1.201 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.07, allocations: 0 / 1.201 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.07, allocations: 2.625 kB / 1.201 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/1.072, allocations: 1.377 MB / 1.203 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.072, allocations: 3.188 kB / 1.203 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/1.072, allocations: 74.14 kB / 1.203 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.072, allocations: 5.188 kB / 1.203 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/1.072, allocations: 8.969 kB / 1.203 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.072, allocations: 6.734 kB / 1.203 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.072, allocations: 2.312 kB / 1.203 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/1.073, allocations: 0.5994 MB / 1.203 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/1.073, allocations: 220.4 kB / 1.204 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/1.073, allocations: 6.719 kB / 1.204 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/1.074, allocations: 42.39 kB / 1.204 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/1.074, allocations: 30.84 kB / 1.204 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.074, allocations: 22.17 kB / 1.204 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001019/1.075, allocations: 0.7836 MB / 1.204 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.31e-07/1.075, allocations: 0 / 1.204 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001232/1.076, allocations: 410.1 kB / 1.205 GB, free: 8.613 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.0004894/1.076, allocations: 180.1 kB / 1.205 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001392/1.078, allocations: 0.8646 MB / 1.206 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.078, allocations: 0 / 1.206 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/1.078, allocations: 199.8 kB / 1.206 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.08, allocations: 446.5 kB / 1.206 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/1.083, allocations: 2.089 MB / 1.208 GB, free: 5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/1.084, allocations: 1.176 MB / 1.21 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/1.084, allocations: 83.42 kB / 1.21 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of SimCode: time 6.61e-07/1.084, allocations: 0 / 1.21 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of Templates: time 0.02402/1.108, allocations: 15.84 MB / 1.225 GB, free: 3.98 MB / 0.92 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