Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_latest_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.004909/0.004909, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001363/0.001363, allocations: 192 kB / 16.67 MB, free: 5.48 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.446/2.446, allocations: 482.6 MB / 0.7551 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 73.92 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2716, allocations: 162.3 MB / 1.242 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.0491/0.3207, allocations: 51.52 MB / 1.292 GB, free: 5.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02427/0.345, allocations: 18.15 MB / 1.31 GB, free: 3.004 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.3472, allocations: 79.56 kB / 1.31 GB, free: 2.926 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004499/0.3517, allocations: 1.902 MB / 1.312 GB, free: 1.016 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.3576, allocations: 2.727 MB / 1.314 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.3618, allocations: 2.072 MB / 1.316 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01834/0.3801, allocations: 14.08 MB / 1.33 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.3824, allocations: 1.705 MB / 1.332 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003643/0.3861, allocations: 1.996 MB / 1.334 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.3878, allocations: 1.467 MB / 1.335 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.3881, allocations: 212 kB / 1.335 GB, free: 8.699 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.3913, allocations: 1.891 MB / 1.337 GB, free: 6.805 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007554/0.392, allocations: 0.8762 MB / 1.338 GB, free: 5.926 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.3933, allocations: 1.391 MB / 1.34 GB, free: 4.527 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005014/0.3983, allocations: 4.507 MB / 1.344 GB, free: 4 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.3983, allocations: 3.938 kB / 1.344 GB, free: 0 / 1.061 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3983, allocations: 0 / 1.344 GB, free: 0 / 1.061 GB Notification: Performance of Transformations before backend: time 4.034e-05/0.3984, allocations: 0 / 1.344 GB, free: 0 / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004785/0.4032, allocations: 3.295 MB / 1.347 GB, free: 12.62 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4032, allocations: 15.98 kB / 1.347 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.4034, allocations: 152.2 kB / 1.347 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004846/0.4083, allocations: 0.9348 MB / 1.348 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/0.4229, allocations: 8.877 MB / 1.357 GB, free: 2.562 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.423, allocations: 86 kB / 1.357 GB, free: 2.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.4232, allocations: 108 kB / 1.357 GB, free: 2.375 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.4259, allocations: 1.482 MB / 1.359 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.426, allocations: 4 kB / 1.359 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.4261, allocations: 40 kB / 1.359 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.4261, allocations: 24 kB / 1.359 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/0.4292, allocations: 1.296 MB / 1.36 GB, free: 15.48 MB / 1.092 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.008585/0.4378, allocations: 7.116 MB / 1.367 GB, free: 7.918 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.4407, allocations: 1.108 MB / 1.368 GB, free: 6.781 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.442, allocations: 0.4905 MB / 1.368 GB, free: 6.289 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003193/0.4452, allocations: 2.676 MB / 1.371 GB, free: 3.402 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4452, allocations: 39.12 kB / 1.371 GB, free: 3.355 MB / 1.092 GB Notification: Performance of pre-optimization done (n=56): time 1.663e-06/0.4452, allocations: 7.938 kB / 1.371 GB, free: 3.348 MB / 1.092 GB Notification: Performance of matching and sorting (n=56): time 0.004723/0.4499, allocations: 1.76 MB / 1.373 GB, free: 1.559 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.45, allocations: 59.95 kB / 1.373 GB, free: 1.484 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.453, allocations: 2.584 MB / 1.375 GB, free: 14.88 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.958e-05/0.4531, allocations: 41.61 kB / 1.375 GB, free: 14.84 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000859/0.454, allocations: 1.034 MB / 1.376 GB, free: 13.79 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.4542, allocations: 218.2 kB / 1.377 GB, free: 13.58 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005578/0.4548, allocations: 434.5 kB / 1.377 GB, free: 13.14 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4549, allocations: 305.1 kB / 1.377 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.4568, allocations: 1.135 MB / 1.378 GB, free: 11.71 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.4591, allocations: 1.535 MB / 1.38 GB, free: 10.03 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/0.4629, allocations: 2.441 MB / 1.382 GB, free: 7.477 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.4629, allocations: 7.938 kB / 1.382 GB, free: 7.469 MB / 1.107 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004922/0.4678, allocations: 3.043 MB / 1.385 GB, free: 4.41 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4679, allocations: 12 kB / 1.385 GB, free: 4.398 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4679, allocations: 8 kB / 1.385 GB, free: 4.391 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/0.4683, allocations: 152.7 kB / 1.385 GB, free: 4.238 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4696, allocations: 335.7 kB / 1.386 GB, free: 3.91 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005525/0.4702, allocations: 0.6655 MB / 1.386 GB, free: 3.219 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.4715, allocations: 238.7 kB / 1.387 GB, free: 2.984 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.4716, allocations: 95.95 kB / 1.387 GB, free: 2.891 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002329/0.474, allocations: 1.487 MB / 1.388 GB, free: 1.402 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001953/0.4759, allocations: 1.344 MB / 1.39 GB, free: 15.91 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003247/0.4792, allocations: 2.074 MB / 1.392 GB, free: 13.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.59e-06/0.4792, allocations: 3.984 kB / 1.392 GB, free: 13.72 MB / 1.123 GB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.004658/0.4839, allocations: 2.707 MB / 1.394 GB, free: 11 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4839, allocations: 8 kB / 1.394 GB, free: 10.99 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.4839, allocations: 8 kB / 1.394 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008216/0.4847, allocations: 204.9 kB / 1.394 GB, free: 10.78 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.4859, allocations: 327.5 kB / 1.395 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00537/0.4913, allocations: 3.508 MB / 1.398 GB, free: 6.742 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.4926, allocations: 179.2 kB / 1.398 GB, free: 6.566 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.4927, allocations: 83.97 kB / 1.398 GB, free: 6.484 MB / 1.123 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 (161): * Single equations (assignments): 156 * 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.0003022/0.493, allocations: 251.2 kB / 1.399 GB, free: 6.234 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.4933, allocations: 246.3 kB / 1.399 GB, free: 5.992 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/0.497, allocations: 1.567 MB / 1.4 GB, free: 4.41 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.497, allocations: 11.98 kB / 1.4 GB, free: 4.398 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4971, allocations: 8 kB / 1.4 GB, free: 4.391 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4971, allocations: 3.984 kB / 1.4 GB, free: 4.387 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/0.5023, allocations: 3.058 MB / 1.403 GB, free: 1.246 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5023, allocations: 0 / 1.403 GB, free: 1.246 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008337/0.5032, allocations: 163.9 kB / 1.404 GB, free: 1.086 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.5035, allocations: 112.6 kB / 1.404 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.5036, allocations: 27.97 kB / 1.404 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000453/0.504, allocations: 0.6383 MB / 1.404 GB, free: 288 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5041, allocations: 4.031 kB / 1.404 GB, free: 284 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004547/0.5086, allocations: 2.151 MB / 1.406 GB, free: 14.09 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.5092, allocations: 435.1 kB / 1.407 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.5094, allocations: 12 kB / 1.407 GB, free: 13.63 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.5104, allocations: 79.97 kB / 1.407 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.5105, allocations: 52.44 kB / 1.407 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.5106, allocations: 43.95 kB / 1.407 GB, free: 13.46 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002238/0.5128, allocations: 1.731 MB / 1.409 GB, free: 11.73 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5128, allocations: 0 / 1.409 GB, free: 11.73 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002433/0.5153, allocations: 1.197 MB / 1.41 GB, free: 10.53 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (floMac1.motSpe.y,floMac2.motSpe.y) * 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 (63): * Single equations (assignments): 56 * 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.006134/0.5214, allocations: 3.323 MB / 1.413 GB, free: 7.164 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006066/0.5275, allocations: 3.475 MB / 1.416 GB, free: 3.684 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5275, allocations: 0 / 1.416 GB, free: 3.684 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.5289, allocations: 0.5776 MB / 1.417 GB, free: 3.109 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/0.5326, allocations: 1.16 MB / 1.418 GB, free: 1.988 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/0.5635, allocations: 19.75 MB / 1.437 GB, free: 13.8 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.5649, allocations: 1.684 MB / 1.439 GB, free: 12.09 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002086/0.567, allocations: 0.6429 MB / 1.44 GB, free: 11.44 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/0.5682, allocations: 0.9678 MB / 1.441 GB, free: 10.47 MB / 1.17 GB Notification: Performance of SimCode: time 2.5e-07/0.5682, allocations: 0 / 1.441 GB, free: 10.47 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.011/9.579, allocations: 69.85 MB / 1.509 GB, free: 5.398 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.28/30.86, allocations: 10.94 kB / 1.509 GB, free: 5.391 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches