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 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.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.007504/0.007504, allocations: 96.61 kB / 15.73 MB, free: 6.008 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.001925/0.001925, allocations: 196.4 kB / 16.67 MB, free: 5.941 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001999, allocations: 67.84 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2876, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9476/1.235, allocations: 325.2 MB / 1.559 GB, free: 2.051 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03366/1.269, allocations: 22.28 MB / 1.581 GB, free: 11.71 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/1.272, allocations: 99.5 kB / 1.581 GB, free: 11.62 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.006561/1.279, allocations: 2.362 MB / 1.583 GB, free: 9.246 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01146/1.29, allocations: 4.539 MB / 1.588 GB, free: 4.691 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.006211/1.296, allocations: 2.557 MB / 1.59 GB, free: 2.148 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01762/1.314, allocations: 11.74 MB / 1.602 GB, free: 6.391 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003708/1.318, allocations: 2.25 MB / 1.604 GB, free: 4.098 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008045/1.326, allocations: 3.511 MB / 1.607 GB, free: 0.5742 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004234/1.33, allocations: 1.834 MB / 1.609 GB, free: 14.73 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.0007672/1.331, allocations: 240 kB / 1.609 GB, free: 14.5 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008127/1.339, allocations: 3.867 MB / 1.613 GB, free: 10.63 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.001672/1.341, allocations: 1.149 MB / 1.614 GB, free: 9.477 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.002507/1.343, allocations: 1.714 MB / 1.616 GB, free: 7.754 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/1.354, allocations: 5.866 MB / 1.622 GB, free: 1.867 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.354, allocations: 4 kB / 1.622 GB, free: 1.863 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.462e-06/1.354, allocations: 0 / 1.622 GB, free: 1.863 MB / 1.311 GB Notification: Performance of Transformations before backend: time 8.606e-05/1.354, allocations: 0 / 1.622 GB, free: 1.863 MB / 1.311 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.006934/1.361, allocations: 3.93 MB / 1.625 GB, free: 13.85 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.361, allocations: 8.031 kB / 1.625 GB, free: 13.84 MB / 1.326 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002638/1.361, allocations: 198.8 kB / 1.626 GB, free: 13.64 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007339/1.369, allocations: 1.118 MB / 1.627 GB, free: 12.52 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007497/1.376, allocations: 4.051 MB / 1.631 GB, free: 8.402 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/1.376, allocations: 122.7 kB / 1.631 GB, free: 8.281 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/1.377, allocations: 151.9 kB / 1.631 GB, free: 8.133 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/1.38, allocations: 1.711 MB / 1.633 GB, free: 6.348 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/1.38, allocations: 3.938 kB / 1.633 GB, free: 6.344 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/1.38, allocations: 60 kB / 1.633 GB, free: 6.285 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/1.38, allocations: 50.53 kB / 1.633 GB, free: 6.234 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003904/1.384, allocations: 1.447 MB / 1.634 GB, free: 4.781 MB / 1.326 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.01278/1.397, allocations: 8.957 MB / 1.643 GB, free: 11.14 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/1.4, allocations: 1.006 MB / 1.644 GB, free: 10.1 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/1.401, allocations: 0.502 MB / 1.644 GB, free: 9.594 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/1.401, allocations: 113.6 kB / 1.644 GB, free: 9.465 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.401, allocations: 43.12 kB / 1.644 GB, free: 9.414 MB / 1.342 GB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/1.401, allocations: 0 / 1.644 GB, free: 9.414 MB / 1.342 GB Notification: Performance of matching and sorting (n=70): time 0.004548/1.406, allocations: 1.473 MB / 1.646 GB, free: 7.93 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.406, allocations: 63.97 kB / 1.646 GB, free: 7.855 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004823/1.411, allocations: 2.972 MB / 1.649 GB, free: 4.879 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/1.411, allocations: 45.7 kB / 1.649 GB, free: 4.828 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/1.412, allocations: 1.282 MB / 1.65 GB, free: 3.535 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/1.413, allocations: 269.7 kB / 1.65 GB, free: 3.27 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00068/1.413, allocations: 431.3 kB / 1.651 GB, free: 2.844 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.413, allocations: 309.1 kB / 1.651 GB, free: 2.539 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/1.415, allocations: 0.8129 MB / 1.652 GB, free: 1.723 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/1.418, allocations: 1.318 MB / 1.653 GB, free: 212 kB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/1.421, allocations: 1.899 MB / 1.655 GB, free: 14.16 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.421, allocations: 0 / 1.655 GB, free: 14.16 MB / 1.357 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00513/1.426, allocations: 2.422 MB / 1.657 GB, free: 11.72 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.426, allocations: 15.94 kB / 1.657 GB, free: 11.71 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.426, allocations: 12 kB / 1.657 GB, free: 11.7 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/1.426, allocations: 16 kB / 1.657 GB, free: 11.68 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/1.428, allocations: 388.9 kB / 1.658 GB, free: 11.3 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004476/1.429, allocations: 0.6055 MB / 1.658 GB, free: 10.67 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/1.431, allocations: 242.6 kB / 1.659 GB, free: 10.43 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.431, allocations: 71.98 kB / 1.659 GB, free: 10.36 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002732/1.434, allocations: 1.438 MB / 1.66 GB, free: 8.922 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002088/1.436, allocations: 1.294 MB / 1.661 GB, free: 7.438 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003283/1.439, allocations: 1.861 MB / 1.663 GB, free: 5.422 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.489e-05/1.439, allocations: 15.86 kB / 1.663 GB, free: 5.406 MB / 1.357 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004683/1.444, allocations: 2.358 MB / 1.666 GB, free: 3.043 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.444, allocations: 12 kB / 1.666 GB, free: 3.031 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.444, allocations: 12 kB / 1.666 GB, free: 3.02 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.444, allocations: 19.94 kB / 1.666 GB, free: 3 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.445, allocations: 359.8 kB / 1.666 GB, free: 2.648 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.279e-05/1.445, allocations: 27.92 kB / 1.666 GB, free: 2.621 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.448, allocations: 187.2 kB / 1.666 GB, free: 2.438 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.448, allocations: 71.92 kB / 1.666 GB, free: 2.367 MB / 1.357 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.0003814/1.448, allocations: 282.1 kB / 1.666 GB, free: 2.086 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006092/1.449, allocations: 286.1 kB / 1.667 GB, free: 1.805 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/1.452, allocations: 1.126 MB / 1.668 GB, free: 0.6641 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.452, allocations: 8 kB / 1.668 GB, free: 0.6562 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.452, allocations: 0 / 1.668 GB, free: 0.6562 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00248/1.454, allocations: 0.9217 MB / 1.669 GB, free: 15.7 MB / 1.373 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0073/1.462, allocations: 3.337 MB / 1.672 GB, free: 12.25 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.462, allocations: 0 / 1.672 GB, free: 12.25 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/1.463, allocations: 215.8 kB / 1.672 GB, free: 12.04 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/1.463, allocations: 4 kB / 1.672 GB, free: 12.04 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.091e-05/1.463, allocations: 23.98 kB / 1.672 GB, free: 12.01 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003455/1.463, allocations: 0.5821 MB / 1.673 GB, free: 11.41 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.463, allocations: 7.969 kB / 1.673 GB, free: 11.4 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004407/1.468, allocations: 1.72 MB / 1.674 GB, free: 9.645 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.469, allocations: 486.9 kB / 1.675 GB, free: 9.148 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/1.469, allocations: 23.98 kB / 1.675 GB, free: 9.125 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.471, allocations: 79.88 kB / 1.675 GB, free: 9.047 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.471, allocations: 56.38 kB / 1.675 GB, free: 8.992 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/1.471, allocations: 35.91 kB / 1.675 GB, free: 8.957 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.00366/1.475, allocations: 1.98 MB / 1.677 GB, free: 6.984 MB / 1.373 GB Notification: Performance of sort global known variables: time 2.01e-07/1.475, allocations: 0 / 1.677 GB, free: 6.984 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.003365/1.478, allocations: 1.267 MB / 1.678 GB, free: 5.715 MB / 1.373 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.005723/1.484, allocations: 2.676 MB / 1.681 GB, free: 3.004 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.005919/1.49, allocations: 2.676 MB / 1.684 GB, free: 344 kB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.49, allocations: 4.062 kB / 1.684 GB, free: 340 kB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/1.491, allocations: 483.1 kB / 1.684 GB, free: 15.86 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/1.498, allocations: 1.456 MB / 1.685 GB, free: 14.45 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/1.534, allocations: 19.41 MB / 1.704 GB, free: 10.55 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/1.536, allocations: 1.927 MB / 1.706 GB, free: 8.598 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.002678/1.539, allocations: 0.7089 MB / 1.707 GB, free: 7.883 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.541, allocations: 1.175 MB / 1.708 GB, free: 6.707 MB / 1.404 GB Notification: Performance of SimCode: time 4.007e-06/1.541, allocations: 0 / 1.708 GB, free: 6.707 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/1.683, allocations: 71.82 MB / 1.778 GB, free: 15.7 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.24/21.92, allocations: 11.73 kB / 1.778 GB, free: 15.69 MB / 1.482 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 400 --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