Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PressureCurve,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_PressureCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PressureCurve,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_PressureCurve",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.009163/0.009163, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002116/0.002116, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.397/1.397, 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 10.1.1-maint.10.0.x/package.mo): time 2.466/2.466, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 72.09 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7552, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.1887/0.944, allocations: 193.6 MB / 1.355 GB, free: 1.488 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01927/0.9633, allocations: 14.12 MB / 1.369 GB, free: 3.32 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.9652, allocations: 43.81 kB / 1.369 GB, free: 3.277 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004218/0.9695, allocations: 1.588 MB / 1.371 GB, free: 1.684 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005602/0.9751, allocations: 2.339 MB / 1.373 GB, free: 15.34 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.9783, allocations: 1.266 MB / 1.374 GB, free: 14.07 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01278/0.9912, allocations: 8.637 MB / 1.383 GB, free: 5.426 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.993, allocations: 0.9531 MB / 1.383 GB, free: 4.453 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.9962, allocations: 1.354 MB / 1.385 GB, free: 3.094 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.9985, allocations: 0.9782 MB / 1.386 GB, free: 2.113 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004653/0.999, allocations: 128 kB / 1.386 GB, free: 1.988 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004961/1.004, allocations: 2.37 MB / 1.388 GB, free: 15.61 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008629/1.005, allocations: 0.6388 MB / 1.389 GB, free: 14.97 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/1.006, allocations: 0.859 MB / 1.39 GB, free: 14.11 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005584/1.012, allocations: 3.291 MB / 1.393 GB, free: 10.81 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.012, allocations: 0 / 1.393 GB, free: 10.81 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.663e-06/1.012, allocations: 0 / 1.393 GB, free: 10.81 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.02e-05/1.012, allocations: 4 kB / 1.393 GB, free: 10.8 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.005073/1.017, allocations: 2.145 MB / 1.395 GB, free: 8.598 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.017, allocations: 12.92 kB / 1.395 GB, free: 8.586 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/1.017, allocations: 102.5 kB / 1.395 GB, free: 8.477 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/1.021, allocations: 0.5987 MB / 1.396 GB, free: 7.875 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009291/1.031, allocations: 4.771 MB / 1.4 GB, free: 3.051 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/1.031, allocations: 49.31 kB / 1.4 GB, free: 3 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/1.031, allocations: 71.98 kB / 1.4 GB, free: 2.93 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/1.033, allocations: 0.9496 MB / 1.401 GB, free: 1.945 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/1.033, allocations: 0 / 1.401 GB, free: 1.945 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/1.033, allocations: 20 kB / 1.401 GB, free: 1.926 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/1.033, allocations: 33.23 kB / 1.401 GB, free: 1.895 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/1.035, allocations: 0.7467 MB / 1.402 GB, free: 1.148 MB / 1.123 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.007073/1.042, allocations: 4.339 MB / 1.406 GB, free: 12.53 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/1.044, allocations: 0.6021 MB / 1.407 GB, free: 11.92 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/1.045, allocations: 296.7 kB / 1.407 GB, free: 11.63 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/1.045, allocations: 186.2 kB / 1.407 GB, free: 11.41 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.045, allocations: 38.5 kB / 1.407 GB, free: 11.36 MB / 1.139 GB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/1.045, allocations: 0 / 1.407 GB, free: 11.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=31): time 0.003466/1.049, allocations: 1.128 MB / 1.409 GB, free: 10.21 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/1.049, allocations: 55.41 kB / 1.409 GB, free: 10.14 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/1.052, allocations: 1.692 MB / 1.41 GB, free: 8.445 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/1.052, allocations: 33.7 kB / 1.41 GB, free: 8.406 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006134/1.052, allocations: 0.6619 MB / 1.411 GB, free: 7.734 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/1.053, allocations: 126.4 kB / 1.411 GB, free: 7.609 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/1.053, allocations: 230.4 kB / 1.411 GB, free: 7.379 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.053, allocations: 349.9 kB / 1.412 GB, free: 7.031 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/1.054, allocations: 0.7191 MB / 1.412 GB, free: 6.309 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/1.056, allocations: 0.9647 MB / 1.413 GB, free: 5.254 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/1.058, allocations: 1.557 MB / 1.415 GB, free: 3.625 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.058, allocations: 7.984 kB / 1.415 GB, free: 3.617 MB / 1.139 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003477/1.062, allocations: 1.954 MB / 1.417 GB, free: 1.652 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.062, allocations: 8 kB / 1.417 GB, free: 1.645 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.062, allocations: 8 kB / 1.417 GB, free: 1.637 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/1.062, allocations: 208.7 kB / 1.417 GB, free: 1.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/1.063, allocations: 188 kB / 1.417 GB, free: 1.246 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006708/1.064, allocations: 0.7006 MB / 1.418 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.065, allocations: 130.9 kB / 1.418 GB, free: 400 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.065, allocations: 55.98 kB / 1.418 GB, free: 344 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001668/1.067, allocations: 0.99 MB / 1.419 GB, free: 15.34 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001235/1.068, allocations: 0.8475 MB / 1.42 GB, free: 14.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002095/1.07, allocations: 1.357 MB / 1.421 GB, free: 12.97 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/1.07, allocations: 4 kB / 1.421 GB, free: 12.96 MB / 1.154 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003304/1.073, allocations: 1.763 MB / 1.423 GB, free: 11.19 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.074, allocations: 8 kB / 1.423 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.074, allocations: 4.438 kB / 1.423 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007541/1.074, allocations: 240.7 kB / 1.423 GB, free: 10.94 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/1.075, allocations: 187.7 kB / 1.423 GB, free: 10.76 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007516/1.076, allocations: 0.8685 MB / 1.424 GB, free: 9.863 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/1.077, allocations: 100.1 kB / 1.424 GB, free: 9.766 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.077, allocations: 47.98 kB / 1.424 GB, free: 9.719 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (87): * Single equations (assignments): 84 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003053/1.078, allocations: 224 kB / 1.424 GB, free: 9.492 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/1.078, allocations: 146 kB / 1.425 GB, free: 9.348 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/1.08, allocations: 0.7855 MB / 1.425 GB, free: 8.555 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.08, allocations: 7.938 kB / 1.425 GB, free: 8.547 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.08, allocations: 4 kB / 1.425 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.08, allocations: 3.984 kB / 1.425 GB, free: 8.539 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/1.084, allocations: 1.875 MB / 1.427 GB, free: 6.582 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/1.084, allocations: 7.938 kB / 1.427 GB, free: 6.574 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/1.084, allocations: 88.08 kB / 1.427 GB, free: 6.488 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/1.085, allocations: 76.81 kB / 1.427 GB, free: 6.41 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/1.085, allocations: 15.98 kB / 1.427 GB, free: 6.395 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004895/1.085, allocations: 0.6811 MB / 1.428 GB, free: 5.688 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.085, allocations: 4.062 kB / 1.428 GB, free: 5.684 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/1.088, allocations: 1.242 MB / 1.429 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/1.088, allocations: 279.1 kB / 1.43 GB, free: 4.105 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/1.089, allocations: 8 kB / 1.43 GB, free: 4.098 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/1.09, allocations: 48.17 kB / 1.43 GB, free: 4.051 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/1.09, allocations: 35.78 kB / 1.43 GB, free: 4.016 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/1.09, allocations: 23.98 kB / 1.43 GB, free: 3.992 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001996/1.092, allocations: 1.148 MB / 1.431 GB, free: 2.852 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.71e-07/1.092, allocations: 8 kB / 1.431 GB, free: 2.844 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002232/1.094, allocations: 0.6787 MB / 1.431 GB, free: 2.164 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (mov.filter.s[1],mov.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004079/1.098, allocations: 2.152 MB / 1.434 GB, free: 15.97 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003997/1.102, allocations: 1.942 MB / 1.435 GB, free: 14.04 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.102, allocations: 0.5625 kB / 1.435 GB, free: 14.04 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008113/1.103, allocations: 308.1 kB / 1.436 GB, free: 13.73 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/1.107, allocations: 0.8148 MB / 1.436 GB, free: 12.94 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02384/1.131, allocations: 12.97 MB / 1.449 GB, free: 15.65 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.132, allocations: 1.319 MB / 1.45 GB, free: 14.3 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001898/1.134, allocations: 428 kB / 1.451 GB, free: 13.88 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009983/1.135, allocations: 0.5657 MB / 1.451 GB, free: 13.31 MB / 1.186 GB Notification: Performance of SimCode: time 1.443e-06/1.135, allocations: 0 / 1.451 GB, free: 13.31 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08312/1.218, allocations: 45.54 MB / 1.496 GB, free: 300 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/16.05, allocations: 11.92 kB / 1.496 GB, free: 288 kB / 1.217 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_Validation_PressureCurve.fmu > Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches