Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004713/0.004712, allocations: 101.2 kB / 15.73 MB, free: 5.508 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.001188/0.001188, allocations: 197.3 kB / 16.68 MB, free: 5.438 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.645/2.645, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 64.12 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2953, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.6344/0.9297, allocations: 51.49 MB / 1.27 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02446/0.9542, allocations: 18.16 MB / 1.288 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/0.9574, allocations: 75.06 kB / 1.288 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005172/0.9625, allocations: 1.9 MB / 1.29 GB, free: 9.188 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007269/0.9698, allocations: 2.72 MB / 1.293 GB, free: 7.617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.9748, allocations: 2.106 MB / 1.295 GB, free: 6.488 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02006/0.9948, allocations: 14.09 MB / 1.309 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.9975, allocations: 1.733 MB / 1.31 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/1.002, allocations: 1.945 MB / 1.312 GB, free: 144 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/1.004, allocations: 1.523 MB / 1.314 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003262/1.004, allocations: 215.2 kB / 1.314 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003791/1.008, allocations: 1.903 MB / 1.316 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000905/1.009, allocations: 0.9007 MB / 1.317 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/1.01, allocations: 1.409 MB / 1.318 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006028/1.016, allocations: 4.563 MB / 1.322 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.016, allocations: 3.938 kB / 1.322 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.143e-06/1.016, allocations: 1.062 kB / 1.322 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.82e-05/1.016, allocations: 0 / 1.322 GB, free: 11.72 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.005582/1.022, allocations: 3.333 MB / 1.326 GB, free: 9.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/1.022, allocations: 9 kB / 1.326 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/1.022, allocations: 155.2 kB / 1.326 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/1.027, allocations: 0.9492 MB / 1.327 GB, free: 9.203 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/1.041, allocations: 8.893 MB / 1.335 GB, free: 3.883 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/1.042, allocations: 92.84 kB / 1.336 GB, free: 3.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/1.042, allocations: 117.9 kB / 1.336 GB, free: 3.801 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/1.045, allocations: 1.486 MB / 1.337 GB, free: 2.895 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.045, allocations: 1.094 kB / 1.337 GB, free: 2.895 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.045, allocations: 45.62 kB / 1.337 GB, free: 2.859 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/1.045, allocations: 38.03 kB / 1.337 GB, free: 2.855 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/1.048, allocations: 1.319 MB / 1.338 GB, free: 2.238 MB / 1.029 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.009016/1.057, allocations: 6.966 MB / 1.345 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/1.06, allocations: 1.133 MB / 1.346 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/1.061, allocations: 0.4942 MB / 1.347 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003468/1.064, allocations: 2.732 MB / 1.35 GB, free: 9.332 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.064, allocations: 46.56 kB / 1.35 GB, free: 9.281 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 2.004e-06/1.064, allocations: 0 / 1.35 GB, free: 9.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.004437/1.069, allocations: 1.733 MB / 1.351 GB, free: 8.395 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/1.069, allocations: 58.12 kB / 1.351 GB, free: 8.332 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/1.072, allocations: 2.631 MB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.329e-05/1.072, allocations: 44.58 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000885/1.073, allocations: 1.047 MB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/1.073, allocations: 232.3 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005926/1.074, allocations: 439.9 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.074, allocations: 301.1 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/1.076, allocations: 1.154 MB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/1.078, allocations: 1.544 MB / 1.359 GB, free: 3.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/1.082, allocations: 2.463 MB / 1.361 GB, free: 2.219 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/1.082, allocations: 5.781 kB / 1.361 GB, free: 2.215 MB / 1.045 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004577/1.086, allocations: 3.061 MB / 1.364 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.086, allocations: 7.906 kB / 1.364 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.086, allocations: 10.72 kB / 1.364 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/1.087, allocations: 154.2 kB / 1.364 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.088, allocations: 358.7 kB / 1.364 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005405/1.089, allocations: 0.6599 MB / 1.365 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.09, allocations: 226.8 kB / 1.365 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.09, allocations: 96.83 kB / 1.365 GB, free: 15.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002302/1.093, allocations: 1.51 MB / 1.367 GB, free: 14.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001925/1.095, allocations: 1.35 MB / 1.368 GB, free: 13.03 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003209/1.098, allocations: 2.09 MB / 1.37 GB, free: 10.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.511e-06/1.098, allocations: 4 kB / 1.37 GB, free: 10.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.004663/1.102, allocations: 2.722 MB / 1.373 GB, free: 8.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.103, allocations: 8 kB / 1.373 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.103, allocations: 12 kB / 1.373 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008414/1.103, allocations: 205 kB / 1.373 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.105, allocations: 347.5 kB / 1.373 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005505/1.11, allocations: 3.509 MB / 1.377 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/1.112, allocations: 183.2 kB / 1.377 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/1.112, allocations: 79.97 kB / 1.377 GB, free: 3.551 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000325/1.112, allocations: 252.8 kB / 1.377 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/1.112, allocations: 250.2 kB / 1.378 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/1.116, allocations: 1.584 MB / 1.379 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/1.116, allocations: 11.98 kB / 1.379 GB, free: 1.438 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.116, allocations: 0 / 1.379 GB, free: 1.438 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.116, allocations: 3.984 kB / 1.379 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005313/1.121, allocations: 3.113 MB / 1.382 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.121, allocations: 7.984 kB / 1.382 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/1.122, allocations: 159.9 kB / 1.382 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/1.123, allocations: 108.8 kB / 1.382 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/1.123, allocations: 31.97 kB / 1.382 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004675/1.123, allocations: 0.642 MB / 1.383 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.123, allocations: 4.031 kB / 1.383 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/1.128, allocations: 2.149 MB / 1.385 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/1.128, allocations: 451.1 kB / 1.386 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/1.128, allocations: 19.94 kB / 1.386 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.129, allocations: 71.92 kB / 1.386 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/1.13, allocations: 56.42 kB / 1.386 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.286e-05/1.13, allocations: 47.97 kB / 1.386 GB, free: 10.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002307/1.132, allocations: 1.748 MB / 1.388 GB, free: 8.676 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.132, allocations: 3.938 kB / 1.388 GB, free: 8.672 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002825/1.135, allocations: 1.216 MB / 1.389 GB, free: 7.453 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006199/1.141, allocations: 3.335 MB / 1.392 GB, free: 4.078 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005992/1.147, allocations: 3.498 MB / 1.395 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.147, allocations: 0 / 1.395 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/1.148, allocations: 0.5744 MB / 1.396 GB, free: 0 / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/1.152, allocations: 1.158 MB / 1.397 GB, free: 14.88 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/1.182, allocations: 19.86 MB / 1.416 GB, free: 10.61 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/1.184, allocations: 1.705 MB / 1.418 GB, free: 8.867 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002095/1.186, allocations: 0.6742 MB / 1.419 GB, free: 8.188 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.187, allocations: 0.9991 MB / 1.42 GB, free: 7.188 MB / 1.107 GB Notification: Performance of SimCode: time 5.81e-07/1.187, allocations: 0 / 1.42 GB, free: 7.188 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.052/4.239, allocations: 70.63 MB / 1.489 GB, free: 1.352 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.35/36.59, allocations: 15.92 kB / 1.489 GB, free: 1.336 MB / 1.17 GB (rm -f Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches