Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Validation.PressureCurve,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PressureCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PressureCurve,fileNamePrefix="Buildings_latest_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.005957/0.005957, allocations: 99.41 kB / 15.73 MB, free: 5.551 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.001611/0.001612, allocations: 196.8 kB / 16.68 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 67.83 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3239, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.7636/1.088, allocations: 193.6 MB / 1.431 GB, free: 3.445 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01946/1.107, allocations: 14.13 MB / 1.444 GB, free: 8.031 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/1.109, allocations: 47.75 kB / 1.444 GB, free: 7.984 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004168/1.113, allocations: 1.583 MB / 1.446 GB, free: 6.395 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005721/1.118, allocations: 2.338 MB / 1.448 GB, free: 4.047 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/1.122, allocations: 1.243 MB / 1.449 GB, free: 2.812 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01351/1.135, allocations: 8.64 MB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/1.137, allocations: 0.936 MB / 1.459 GB, free: 9.211 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/1.14, allocations: 1.518 MB / 1.46 GB, free: 7.688 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/1.142, allocations: 0.9454 MB / 1.461 GB, free: 6.746 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/1.142, allocations: 128 kB / 1.461 GB, free: 6.621 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/1.146, allocations: 2.358 MB / 1.464 GB, free: 4.258 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007219/1.147, allocations: 0.631 MB / 1.464 GB, free: 3.625 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009928/1.148, allocations: 0.8551 MB / 1.465 GB, free: 2.766 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004999/1.153, allocations: 3.282 MB / 1.468 GB, free: 15.47 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.153, allocations: 4 kB / 1.468 GB, free: 15.47 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.553e-06/1.153, allocations: 0 / 1.468 GB, free: 15.47 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.866e-05/1.153, allocations: 0 / 1.468 GB, free: 15.47 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003798/1.157, allocations: 2.176 MB / 1.47 GB, free: 13.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.157, allocations: 8.031 kB / 1.47 GB, free: 13.22 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/1.157, allocations: 102.5 kB / 1.47 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/1.161, allocations: 0.5998 MB / 1.471 GB, free: 12.51 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00945/1.17, allocations: 4.784 MB / 1.476 GB, free: 7.672 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/1.171, allocations: 49.31 kB / 1.476 GB, free: 7.621 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/1.171, allocations: 64 kB / 1.476 GB, free: 7.559 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/1.173, allocations: 0.9495 MB / 1.477 GB, free: 6.574 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.173, allocations: 3.938 kB / 1.477 GB, free: 6.57 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/1.173, allocations: 28 kB / 1.477 GB, free: 6.543 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/1.173, allocations: 25.3 kB / 1.477 GB, free: 6.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/1.175, allocations: 0.7388 MB / 1.478 GB, free: 5.781 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006667/1.181, allocations: 4.394 MB / 1.482 GB, free: 1.086 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/1.183, allocations: 0.5732 MB / 1.482 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/1.184, allocations: 300.6 kB / 1.483 GB, free: 212 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003401/1.185, allocations: 194.2 kB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/1.185, allocations: 34.56 kB / 1.483 GB, free: 15.94 MB / 1.186 GB Notification: Performance of pre-optimization done (n=29): time 2.304e-06/1.185, allocations: 0 / 1.483 GB, free: 15.94 MB / 1.186 GB Notification: Performance of matching and sorting (n=29): time 0.003674/1.188, allocations: 1.151 MB / 1.484 GB, free: 14.76 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/1.188, allocations: 55.41 kB / 1.484 GB, free: 14.69 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.191, allocations: 1.676 MB / 1.486 GB, free: 13.01 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.075e-05/1.191, allocations: 41.62 kB / 1.486 GB, free: 12.96 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006579/1.192, allocations: 0.6588 MB / 1.486 GB, free: 12.3 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/1.192, allocations: 115 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000381/1.192, allocations: 234.5 kB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.192, allocations: 345.9 kB / 1.487 GB, free: 11.6 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/1.194, allocations: 0.716 MB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/1.195, allocations: 0.9569 MB / 1.489 GB, free: 9.836 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/1.198, allocations: 1.541 MB / 1.49 GB, free: 8.223 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.198, allocations: 4 kB / 1.49 GB, free: 8.219 MB / 1.186 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003633/1.202, allocations: 1.951 MB / 1.492 GB, free: 6.258 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.202, allocations: 11.98 kB / 1.492 GB, free: 6.246 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.202, allocations: 4 kB / 1.492 GB, free: 6.242 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/1.202, allocations: 212.4 kB / 1.492 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/1.203, allocations: 179.7 kB / 1.492 GB, free: 5.859 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007183/1.204, allocations: 0.7007 MB / 1.493 GB, free: 5.133 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/1.205, allocations: 123.3 kB / 1.493 GB, free: 5.012 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.205, allocations: 55.98 kB / 1.493 GB, free: 4.957 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001822/1.207, allocations: 0.9821 MB / 1.494 GB, free: 3.973 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001469/1.208, allocations: 0.8514 MB / 1.495 GB, free: 3.027 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002449/1.211, allocations: 1.334 MB / 1.496 GB, free: 1.621 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/1.211, allocations: 0 / 1.496 GB, free: 1.621 MB / 1.186 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003641/1.214, allocations: 1.775 MB / 1.498 GB, free: 15.83 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.214, allocations: 8 kB / 1.498 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.214, allocations: 4 kB / 1.498 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007649/1.215, allocations: 245.1 kB / 1.498 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/1.216, allocations: 175.8 kB / 1.499 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/1.217, allocations: 0.8607 MB / 1.499 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.218, allocations: 107.6 kB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/1.218, allocations: 39.98 kB / 1.5 GB, free: 14.38 MB / 1.201 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 (84): * Single equations (assignments): 81 * 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.0002836/1.219, allocations: 228.9 kB / 1.5 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/1.219, allocations: 151 kB / 1.5 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/1.221, allocations: 0.7997 MB / 1.501 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.221, allocations: 0 / 1.501 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.221, allocations: 0 / 1.501 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.221, allocations: 15.92 kB / 1.501 GB, free: 13.17 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/1.225, allocations: 1.858 MB / 1.503 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.225, allocations: 4 kB / 1.503 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/1.226, allocations: 80.09 kB / 1.503 GB, free: 11.15 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002501/1.226, allocations: 85.67 kB / 1.503 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/1.226, allocations: 12 kB / 1.503 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006056/1.227, allocations: 0.6823 MB / 1.503 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.227, allocations: 7.875 kB / 1.503 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/1.23, allocations: 1.243 MB / 1.505 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/1.23, allocations: 288 kB / 1.505 GB, free: 8.75 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/1.23, allocations: 8.062 kB / 1.505 GB, free: 8.742 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/1.231, allocations: 43.95 kB / 1.505 GB, free: 8.699 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/1.231, allocations: 23.97 kB / 1.505 GB, free: 8.676 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/1.231, allocations: 20.05 kB / 1.505 GB, free: 8.656 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001863/1.233, allocations: 1.136 MB / 1.506 GB, free: 7.527 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/1.233, allocations: 3.938 kB / 1.506 GB, free: 7.523 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001985/1.235, allocations: 0.6824 MB / 1.507 GB, free: 6.84 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (mov.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 (27): * Single equations (assignments): 26 * 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.004245/1.239, allocations: 2.158 MB / 1.509 GB, free: 4.637 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004218/1.244, allocations: 1.934 MB / 1.511 GB, free: 2.707 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.244, allocations: 0 / 1.511 GB, free: 2.707 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0008841/1.245, allocations: 300.7 kB / 1.511 GB, free: 2.414 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003868/1.249, allocations: 0.8237 MB / 1.512 GB, free: 1.613 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/1.272, allocations: 12.98 MB / 1.525 GB, free: 4.305 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.273, allocations: 1.31 MB / 1.526 GB, free: 2.965 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00149/1.274, allocations: 411.9 kB / 1.526 GB, free: 2.559 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/1.275, allocations: 0.55 MB / 1.527 GB, free: 2.008 MB / 1.217 GB Notification: Performance of SimCode: time 8.82e-07/1.275, allocations: 0 / 1.527 GB, free: 2.008 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.38, allocations: 45.19 MB / 1.571 GB, free: 5.422 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.88, allocations: 15.14 kB / 1.571 GB, free: 5.41 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_Validation_PressureCurve.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches