Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.FlowControlled_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.001554/0.001554, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 198 kB / 16.54 MB, free: 6.672 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 469.4 MB / 0.742 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.19 kB / 0.9083 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3258, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9734/1.299, allocations: 325.1 MB / 1.381 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03692/1.336, allocations: 22.28 MB / 1.403 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005145/1.341, allocations: 98.09 kB / 1.403 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0147/1.356, allocations: 7.703 MB / 1.41 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/1.369, allocations: 4.255 MB / 1.415 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00739/1.377, allocations: 2.426 MB / 1.417 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02073/1.398, allocations: 11.94 MB / 1.429 GB, free: 2.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/1.402, allocations: 2.198 MB / 1.431 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008934/1.411, allocations: 3.137 MB / 1.434 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004226/1.416, allocations: 1.82 MB / 1.436 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/1.417, allocations: 224 kB / 1.436 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009376/1.426, allocations: 3.851 MB / 1.44 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001858/1.428, allocations: 1.137 MB / 1.441 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00349/1.432, allocations: 1.691 MB / 1.442 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/1.443, allocations: 5.718 MB / 1.448 GB, free: 15.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.443, allocations: 0 / 1.448 GB, free: 15.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.443, allocations: 0 / 1.448 GB, free: 15.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001662/1.443, allocations: 4 kB / 1.448 GB, free: 15.17 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.00976/1.453, allocations: 3.767 MB / 1.452 GB, free: 11.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.9e-05/1.453, allocations: 19.98 kB / 1.452 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008295/1.454, allocations: 198.8 kB / 1.452 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008246/1.462, allocations: 1.1 MB / 1.453 GB, free: 9.992 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008653/1.471, allocations: 3.877 MB / 1.457 GB, free: 6.051 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004999/1.472, allocations: 178.6 kB / 1.457 GB, free: 5.875 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005056/1.472, allocations: 144 kB / 1.457 GB, free: 5.734 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004635/1.477, allocations: 1.719 MB / 1.459 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/1.477, allocations: 7.938 kB / 1.459 GB, free: 3.934 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/1.477, allocations: 60 kB / 1.459 GB, free: 3.875 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/1.477, allocations: 50.59 kB / 1.459 GB, free: 3.824 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/1.482, allocations: 1.466 MB / 1.46 GB, free: 2.352 MB / 1.061 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.01486/1.497, allocations: 8.719 MB / 1.469 GB, free: 9.016 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/1.499, allocations: 1.026 MB / 1.47 GB, free: 7.945 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/1.5, allocations: 0.5097 MB / 1.47 GB, free: 7.434 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/1.501, allocations: 117.6 kB / 1.47 GB, free: 7.301 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.501, allocations: 39.12 kB / 1.47 GB, free: 7.254 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/1.501, allocations: 0 / 1.47 GB, free: 7.254 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.00476/1.506, allocations: 1.488 MB / 1.472 GB, free: 5.762 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/1.506, allocations: 59.97 kB / 1.472 GB, free: 5.688 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004997/1.511, allocations: 2.948 MB / 1.475 GB, free: 2.734 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.511, allocations: 49.7 kB / 1.475 GB, free: 2.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.512, allocations: 1.276 MB / 1.476 GB, free: 1.391 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/1.512, allocations: 256.4 kB / 1.476 GB, free: 1.137 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006988/1.513, allocations: 435 kB / 1.477 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/1.513, allocations: 305.1 kB / 1.477 GB, free: 412 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/1.515, allocations: 0.8168 MB / 1.478 GB, free: 15.58 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/1.517, allocations: 1.339 MB / 1.479 GB, free: 14.05 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/1.52, allocations: 1.918 MB / 1.481 GB, free: 11.98 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/1.52, allocations: 0 / 1.481 GB, free: 11.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005072/1.526, allocations: 2.424 MB / 1.483 GB, free: 9.547 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.526, allocations: 8 kB / 1.483 GB, free: 9.539 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/1.526, allocations: 12 kB / 1.483 GB, free: 9.527 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-05/1.526, allocations: 20 kB / 1.483 GB, free: 9.508 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/1.527, allocations: 389 kB / 1.484 GB, free: 9.129 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004244/1.528, allocations: 0.6094 MB / 1.484 GB, free: 8.496 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.53, allocations: 254.9 kB / 1.485 GB, free: 8.246 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/1.53, allocations: 71.97 kB / 1.485 GB, free: 8.176 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002809/1.533, allocations: 1.445 MB / 1.486 GB, free: 6.727 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002137/1.535, allocations: 1.302 MB / 1.487 GB, free: 5.227 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003332/1.539, allocations: 1.885 MB / 1.489 GB, free: 3.188 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.445e-05/1.539, allocations: 4 kB / 1.489 GB, free: 3.184 MB / 1.092 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004844/1.544, allocations: 2.365 MB / 1.492 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.544, allocations: 11.98 kB / 1.492 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.544, allocations: 12 kB / 1.492 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.544, allocations: 20 kB / 1.492 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/1.545, allocations: 359.9 kB / 1.492 GB, free: 424 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-05/1.545, allocations: 31.86 kB / 1.492 GB, free: 392 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/1.548, allocations: 196.2 kB / 1.492 GB, free: 196 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.548, allocations: 67.98 kB / 1.492 GB, free: 128 kB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005912/1.548, allocations: 266.3 kB / 1.492 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008771/1.549, allocations: 264.5 kB / 1.493 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/1.553, allocations: 1.149 MB / 1.494 GB, free: 14.43 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/1.553, allocations: 8 kB / 1.494 GB, free: 14.42 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.553, allocations: 0 / 1.494 GB, free: 14.42 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00251/1.556, allocations: 0.9411 MB / 1.495 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009718/1.565, allocations: 3.358 MB / 1.498 GB, free: 9.973 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.565, allocations: 4 kB / 1.498 GB, free: 9.969 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.567, allocations: 219.7 kB / 1.498 GB, free: 9.754 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/1.567, allocations: 4 kB / 1.498 GB, free: 9.75 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/1.567, allocations: 23.92 kB / 1.498 GB, free: 9.727 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003475/1.567, allocations: 0.586 MB / 1.499 GB, free: 9.117 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.567, allocations: 8.031 kB / 1.499 GB, free: 9.109 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/1.572, allocations: 1.733 MB / 1.501 GB, free: 7.344 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.574, allocations: 469.3 kB / 1.501 GB, free: 6.863 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008116/1.574, allocations: 19.94 kB / 1.501 GB, free: 6.844 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.576, allocations: 83.91 kB / 1.501 GB, free: 6.762 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/1.576, allocations: 48.44 kB / 1.501 GB, free: 6.715 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/1.576, allocations: 27.98 kB / 1.501 GB, free: 6.688 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003905/1.58, allocations: 1.972 MB / 1.503 GB, free: 4.723 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/1.58, allocations: 0 / 1.503 GB, free: 4.723 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004111/1.584, allocations: 1.255 MB / 1.504 GB, free: 3.465 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005745/1.59, allocations: 2.684 MB / 1.507 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006451/1.597, allocations: 2.789 MB / 1.51 GB, free: 13.96 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.597, allocations: 0 / 1.51 GB, free: 13.96 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/1.598, allocations: 488.6 kB / 1.51 GB, free: 13.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006854/1.605, allocations: 1.453 MB / 1.512 GB, free: 12.07 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04286/1.648, allocations: 21.94 MB / 1.533 GB, free: 4.539 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/1.65, allocations: 1.927 MB / 1.535 GB, free: 2.574 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003476/1.654, allocations: 0.7245 MB / 1.536 GB, free: 1.844 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/1.656, allocations: 1.179 MB / 1.537 GB, free: 0.668 MB / 1.139 GB Notification: Performance of SimCode: time 1.583e-06/1.656, allocations: 0 / 1.537 GB, free: 0.668 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/1.788, allocations: 73.56 MB / 1.609 GB, free: 7.902 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.88, allocations: 6.562 kB / 1.609 GB, free: 7.898 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches