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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.008267/0.008267, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001953/0.001953, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.704/2.704, allocations: 469.4 MB / 0.7422 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 68.11 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2976, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.6685/0.9662, allocations: 51.5 MB / 1.27 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02859/0.9948, allocations: 18.14 MB / 1.288 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004857/0.9997, allocations: 79.12 kB / 1.288 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007259/1.007, allocations: 1.921 MB / 1.29 GB, free: 9.504 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/1.018, allocations: 2.829 MB / 1.292 GB, free: 7.871 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006991/1.025, allocations: 2.099 MB / 1.295 GB, free: 6.746 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02599/1.051, allocations: 14.09 MB / 1.308 GB, free: 2.133 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003815/1.054, allocations: 1.726 MB / 1.31 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005914/1.06, allocations: 1.985 MB / 1.312 GB, free: 384 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/1.064, allocations: 1.521 MB / 1.313 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/1.066, allocations: 214.1 kB / 1.314 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007033/1.073, allocations: 1.898 MB / 1.315 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001922/1.075, allocations: 0.9018 MB / 1.316 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004688/1.079, allocations: 1.405 MB / 1.318 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01092/1.09, allocations: 4.553 MB / 1.322 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.09, allocations: 5.156 kB / 1.322 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/1.09, allocations: 3.938 kB / 1.322 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001515/1.09, allocations: 0 / 1.322 GB, free: 11.96 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.01034/1.101, allocations: 3.339 MB / 1.325 GB, free: 9.758 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.101, allocations: 10.25 kB / 1.325 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003989/1.101, allocations: 149.4 kB / 1.326 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006269/1.108, allocations: 0.9489 MB / 1.326 GB, free: 9.445 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/1.127, allocations: 8.883 MB / 1.335 GB, free: 4.152 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.127, allocations: 89.5 kB / 1.335 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/1.127, allocations: 114.2 kB / 1.335 GB, free: 4.078 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/1.131, allocations: 1.49 MB / 1.337 GB, free: 3.168 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.131, allocations: 1.156 kB / 1.337 GB, free: 3.168 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/1.131, allocations: 42.5 kB / 1.337 GB, free: 3.137 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/1.131, allocations: 37 kB / 1.337 GB, free: 3.133 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003423/1.134, allocations: 1.323 MB / 1.338 GB, free: 2.516 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.01201/1.146, allocations: 6.969 MB / 1.345 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/1.149, allocations: 1.133 MB / 1.346 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/1.151, allocations: 0.4924 MB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00527/1.156, allocations: 2.735 MB / 1.349 GB, free: 9.605 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.156, allocations: 37.56 kB / 1.349 GB, free: 9.562 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 2.385e-06/1.156, allocations: 5.688 kB / 1.349 GB, free: 9.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.005337/1.162, allocations: 1.737 MB / 1.351 GB, free: 8.668 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/1.162, allocations: 57.34 kB / 1.351 GB, free: 8.605 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005336/1.167, allocations: 2.633 MB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/1.167, allocations: 43.2 kB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/1.168, allocations: 1.047 MB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/1.169, allocations: 240.3 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000824/1.169, allocations: 440 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/1.17, allocations: 301.1 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/1.172, allocations: 1.142 MB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/1.174, allocations: 1.553 MB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004163/1.178, allocations: 2.459 MB / 1.361 GB, free: 2.496 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/1.178, allocations: 10.73 kB / 1.361 GB, free: 2.488 MB / 1.045 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005665/1.184, allocations: 3.062 MB / 1.364 GB, free: 1.004 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.184, allocations: 11.72 kB / 1.364 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/1.184, allocations: 10.47 kB / 1.364 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/1.185, allocations: 151.2 kB / 1.364 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.186, allocations: 363.1 kB / 1.364 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000613/1.187, allocations: 0.6652 MB / 1.365 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/1.189, allocations: 216.7 kB / 1.365 GB, free: 104 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/1.189, allocations: 99.17 kB / 1.365 GB, free: 80 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002797/1.192, allocations: 1.509 MB / 1.367 GB, free: 14.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001984/1.194, allocations: 1.35 MB / 1.368 GB, free: 13.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0034/1.198, allocations: 2.094 MB / 1.37 GB, free: 11.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.494e-06/1.198, allocations: 4 kB / 1.37 GB, free: 11.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.00546/1.203, allocations: 2.715 MB / 1.373 GB, free: 8.387 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.203, allocations: 13.81 kB / 1.373 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.203, allocations: 15.98 kB / 1.373 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009429/1.204, allocations: 208.7 kB / 1.373 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.206, allocations: 343.5 kB / 1.373 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006403/1.212, allocations: 3.505 MB / 1.377 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/1.215, allocations: 175.3 kB / 1.377 GB, free: 3.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000474/1.216, allocations: 79.97 kB / 1.377 GB, free: 3.852 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.0007952/1.216, allocations: 259.8 kB / 1.377 GB, free: 3.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009341/1.217, allocations: 250.2 kB / 1.377 GB, free: 3.344 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/1.222, allocations: 1.584 MB / 1.379 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/1.222, allocations: 8 kB / 1.379 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/1.222, allocations: 0 / 1.379 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.222, allocations: 3.984 kB / 1.379 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008346/1.23, allocations: 3.117 MB / 1.382 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.23, allocations: 0 / 1.382 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/1.231, allocations: 167.9 kB / 1.382 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003747/1.232, allocations: 104.7 kB / 1.382 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/1.232, allocations: 31.97 kB / 1.382 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004874/1.232, allocations: 0.6382 MB / 1.383 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.232, allocations: 4.031 kB / 1.383 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004871/1.237, allocations: 2.157 MB / 1.385 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.239, allocations: 443.2 kB / 1.385 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007377/1.239, allocations: 19.98 kB / 1.385 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.241, allocations: 71.92 kB / 1.385 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.241, allocations: 56.38 kB / 1.385 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.241, allocations: 47.91 kB / 1.386 GB, free: 10.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003339/1.245, allocations: 1.755 MB / 1.387 GB, free: 8.969 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.7e-07/1.245, allocations: 0 / 1.387 GB, free: 8.969 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004861/1.249, allocations: 1.216 MB / 1.388 GB, free: 7.75 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.00704/1.256, allocations: 3.339 MB / 1.392 GB, free: 4.367 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006646/1.263, allocations: 3.498 MB / 1.395 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.263, allocations: 0 / 1.395 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/1.265, allocations: 0.5702 MB / 1.396 GB, free: 304 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/1.27, allocations: 1.158 MB / 1.397 GB, free: 15.18 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/1.306, allocations: 19.86 MB / 1.416 GB, free: 10.9 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.308, allocations: 1.713 MB / 1.418 GB, free: 9.152 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002434/1.31, allocations: 0.6625 MB / 1.419 GB, free: 8.484 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.312, allocations: 1.003 MB / 1.419 GB, free: 7.48 MB / 1.107 GB Notification: Performance of SimCode: time 6.91e-07/1.312, allocations: 0 / 1.419 GB, free: 7.48 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/1.427, allocations: 70.61 MB / 1.488 GB, free: 1.609 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/18.32, allocations: 3.984 kB / 1.488 GB, free: 1.605 MB / 1.17 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 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.csv","/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