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: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0077/0.0077, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001765/0.001765, allocations: 194.8 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 75.88 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4254, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.045/1.47, allocations: 325.1 MB / 1.525 GB, free: 1.402 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03531/1.505, allocations: 22.27 MB / 1.547 GB, free: 11.07 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004604/1.51, allocations: 99.5 kB / 1.547 GB, free: 10.97 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.007267/1.517, allocations: 2.356 MB / 1.549 GB, free: 8.605 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01286/1.53, allocations: 4.522 MB / 1.554 GB, free: 4.066 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007704/1.538, allocations: 2.559 MB / 1.556 GB, free: 1.523 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01783/1.556, allocations: 12.18 MB / 1.568 GB, free: 5.328 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/1.56, allocations: 2.238 MB / 1.57 GB, free: 3.051 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007616/1.567, allocations: 3.262 MB / 1.574 GB, free: 15.78 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004119/1.571, allocations: 1.873 MB / 1.575 GB, free: 13.91 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0006831/1.572, allocations: 240 kB / 1.576 GB, free: 13.67 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008379/1.581, allocations: 3.878 MB / 1.579 GB, free: 9.785 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002001/1.583, allocations: 1.157 MB / 1.58 GB, free: 8.625 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003274/1.586, allocations: 1.706 MB / 1.582 GB, free: 6.91 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01302/1.599, allocations: 5.846 MB / 1.588 GB, free: 1.047 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.599, allocations: 0 / 1.588 GB, free: 1.047 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.294e-06/1.599, allocations: 0 / 1.588 GB, free: 1.047 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001345/1.599, allocations: 0 / 1.588 GB, free: 1.047 MB / 1.264 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.009336/1.608, allocations: 3.805 MB / 1.592 GB, free: 13.16 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.609, allocations: 12.62 kB / 1.592 GB, free: 13.15 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007105/1.616, allocations: 1.096 MB / 1.593 GB, free: 12.05 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007855/1.624, allocations: 4.041 MB / 1.597 GB, free: 7.941 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/1.624, allocations: 118.7 kB / 1.597 GB, free: 7.824 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/1.624, allocations: 152 kB / 1.597 GB, free: 7.676 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/1.628, allocations: 1.711 MB / 1.599 GB, free: 5.891 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/1.628, allocations: 0 / 1.599 GB, free: 5.891 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/1.628, allocations: 56 kB / 1.599 GB, free: 5.836 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/1.628, allocations: 58.58 kB / 1.599 GB, free: 5.777 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/1.631, allocations: 1.443 MB / 1.6 GB, free: 4.328 MB / 1.279 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.01226/1.644, allocations: 8.665 MB / 1.609 GB, free: 11.04 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/1.646, allocations: 1.017 MB / 1.61 GB, free: 9.984 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/1.647, allocations: 0.504 MB / 1.61 GB, free: 9.48 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/1.647, allocations: 117.6 kB / 1.61 GB, free: 9.344 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.647, allocations: 43.44 kB / 1.61 GB, free: 9.293 MB / 1.295 GB Notification: Performance of pre-optimization done (n=70): time 3.126e-06/1.647, allocations: 0 / 1.61 GB, free: 9.293 MB / 1.295 GB Notification: Performance of matching and sorting (n=70): time 0.0043/1.652, allocations: 1.46 MB / 1.612 GB, free: 7.828 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/1.652, allocations: 59.97 kB / 1.612 GB, free: 7.758 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/1.656, allocations: 2.983 MB / 1.615 GB, free: 4.77 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/1.656, allocations: 49.7 kB / 1.615 GB, free: 4.715 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/1.657, allocations: 1.272 MB / 1.616 GB, free: 3.43 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/1.657, allocations: 252.5 kB / 1.616 GB, free: 3.18 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006384/1.658, allocations: 435 kB / 1.617 GB, free: 2.746 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.658, allocations: 301.1 kB / 1.617 GB, free: 2.449 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/1.66, allocations: 0.8168 MB / 1.618 GB, free: 1.629 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/1.662, allocations: 1.314 MB / 1.619 GB, free: 120 kB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/1.665, allocations: 1.903 MB / 1.621 GB, free: 14.06 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.665, allocations: 4 kB / 1.621 GB, free: 14.06 MB / 1.311 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004877/1.67, allocations: 2.393 MB / 1.623 GB, free: 11.65 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/1.67, allocations: 12 kB / 1.623 GB, free: 11.64 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/1.67, allocations: 8 kB / 1.623 GB, free: 11.63 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.982e-05/1.67, allocations: 28.34 kB / 1.623 GB, free: 11.61 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/1.672, allocations: 383.5 kB / 1.623 GB, free: 11.23 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004533/1.672, allocations: 0.6132 MB / 1.624 GB, free: 10.59 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/1.675, allocations: 230.7 kB / 1.624 GB, free: 10.37 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/1.675, allocations: 75.97 kB / 1.624 GB, free: 10.29 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002752/1.677, allocations: 1.437 MB / 1.626 GB, free: 8.852 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001942/1.679, allocations: 1.294 MB / 1.627 GB, free: 7.367 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003084/1.682, allocations: 1.858 MB / 1.629 GB, free: 5.352 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.418e-05/1.683, allocations: 4 kB / 1.629 GB, free: 5.348 MB / 1.311 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004854/1.687, allocations: 2.354 MB / 1.631 GB, free: 2.984 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/1.687, allocations: 12 kB / 1.631 GB, free: 2.973 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/1.687, allocations: 12.47 kB / 1.631 GB, free: 2.961 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.687, allocations: 20 kB / 1.631 GB, free: 2.941 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.689, allocations: 363.4 kB / 1.632 GB, free: 2.586 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.814e-05/1.689, allocations: 27.92 kB / 1.632 GB, free: 2.559 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.691, allocations: 190.7 kB / 1.632 GB, free: 2.371 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.691, allocations: 67.98 kB / 1.632 GB, free: 2.305 MB / 1.311 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.000453/1.692, allocations: 271.7 kB / 1.632 GB, free: 2.031 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007615/1.693, allocations: 268.4 kB / 1.632 GB, free: 1.766 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003357/1.696, allocations: 1.126 MB / 1.633 GB, free: 0.6211 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.696, allocations: 11.94 kB / 1.633 GB, free: 0.6094 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.696, allocations: 4 kB / 1.633 GB, free: 0.6055 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00231/1.698, allocations: 0.9178 MB / 1.634 GB, free: 15.65 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008011/1.706, allocations: 3.344 MB / 1.638 GB, free: 12.2 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.706, allocations: 0 / 1.638 GB, free: 12.2 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.708, allocations: 215.8 kB / 1.638 GB, free: 11.98 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/1.708, allocations: 7.938 kB / 1.638 GB, free: 11.98 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/1.708, allocations: 19.98 kB / 1.638 GB, free: 11.96 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000339/1.708, allocations: 0.5899 MB / 1.638 GB, free: 11.34 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.708, allocations: 3.938 kB / 1.638 GB, free: 11.34 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/1.712, allocations: 1.715 MB / 1.64 GB, free: 9.598 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.714, allocations: 473.4 kB / 1.641 GB, free: 9.113 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.715, allocations: 15.98 kB / 1.641 GB, free: 9.098 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/1.717, allocations: 79.92 kB / 1.641 GB, free: 9.02 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.717, allocations: 44.5 kB / 1.641 GB, free: 8.977 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/1.717, allocations: 31.97 kB / 1.641 GB, free: 8.945 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.005061/1.722, allocations: 1.991 MB / 1.643 GB, free: 6.961 MB / 1.326 GB Notification: Performance of sort global known variables: time 2.01e-07/1.722, allocations: 0 / 1.643 GB, free: 6.961 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.004676/1.727, allocations: 1.263 MB / 1.644 GB, free: 5.695 MB / 1.326 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.001421/1.728, allocations: 494.3 kB / 1.644 GB, free: 5.219 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.006205/1.735, allocations: 2.707 MB / 1.647 GB, free: 2.516 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.735, allocations: 0 / 1.647 GB, free: 2.516 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/1.736, allocations: 472.5 kB / 1.647 GB, free: 2.055 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007732/1.744, allocations: 1.46 MB / 1.649 GB, free: 0.6328 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/1.754, allocations: 4.701 MB / 1.653 GB, free: 11.89 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/1.757, allocations: 1.923 MB / 1.655 GB, free: 9.934 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.00315/1.76, allocations: 0.7245 MB / 1.656 GB, free: 9.203 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008115/1.761, allocations: 207.4 kB / 1.656 GB, free: 9 MB / 1.342 GB Notification: Performance of SimCode: time 8.01e-07/1.761, allocations: 0 / 1.656 GB, free: 9 MB / 1.342 GB Notification: Performance of Templates: time 0.08741/1.848, allocations: 52.13 MB / 1.707 GB, free: 5.465 MB / 1.389 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (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 & ./Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins/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