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.001163/0.001163, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001154/0.001154, allocations: 189.4 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.84 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8344, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.3461/1.181, allocations: 325.1 MB / 1.526 GB, free: 7.363 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03567/1.216, allocations: 22.29 MB / 1.548 GB, free: 1.02 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004022/1.22, allocations: 103.4 kB / 1.548 GB, free: 0.918 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00682/1.227, allocations: 2.352 MB / 1.55 GB, free: 14.55 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01252/1.24, allocations: 4.515 MB / 1.554 GB, free: 10.02 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.006556/1.246, allocations: 2.558 MB / 1.557 GB, free: 7.473 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.8372/2.084, allocations: 12.16 MB / 1.569 GB, free: 83.7 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004903/2.088, allocations: 2.239 MB / 1.571 GB, free: 83.47 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009667/2.098, allocations: 3.277 MB / 1.574 GB, free: 83.46 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00573/2.104, allocations: 1.856 MB / 1.576 GB, free: 83.46 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/2.105, allocations: 242.1 kB / 1.576 GB, free: 83.46 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/2.115, allocations: 3.878 MB / 1.58 GB, free: 83.46 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002527/2.118, allocations: 1.164 MB / 1.581 GB, free: 83.46 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.004274/2.122, allocations: 1.707 MB / 1.583 GB, free: 83.46 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/2.135, allocations: 5.843 MB / 1.589 GB, free: 82.95 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/2.135, allocations: 2.625 kB / 1.589 GB, free: 82.95 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.854e-06/2.135, allocations: 0 / 1.589 GB, free: 82.95 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001398/2.136, allocations: 0.9062 kB / 1.589 GB, free: 82.95 MB / 1.279 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.00944/2.145, allocations: 3.806 MB / 1.592 GB, free: 81.04 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/2.145, allocations: 8.438 kB / 1.592 GB, free: 81.04 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007358/2.153, allocations: 1.098 MB / 1.593 GB, free: 80.86 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008071/2.161, allocations: 4.04 MB / 1.597 GB, free: 80.19 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/2.161, allocations: 118.9 kB / 1.597 GB, free: 80.18 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/2.161, allocations: 146 kB / 1.598 GB, free: 80.18 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/2.165, allocations: 1.716 MB / 1.599 GB, free: 79.97 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/2.165, allocations: 3.281 kB / 1.599 GB, free: 79.97 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/2.165, allocations: 58.42 kB / 1.599 GB, free: 79.97 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.327e-05/2.165, allocations: 53.53 kB / 1.599 GB, free: 79.96 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/2.168, allocations: 1.447 MB / 1.601 GB, free: 79.95 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.01229/2.181, allocations: 8.663 MB / 1.609 GB, free: 75.58 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/2.183, allocations: 1.016 MB / 1.61 GB, free: 75.36 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/2.184, allocations: 0.5092 MB / 1.611 GB, free: 75.35 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/2.184, allocations: 106.9 kB / 1.611 GB, free: 75.25 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/2.184, allocations: 43.53 kB / 1.611 GB, free: 75.21 MB / 1.279 GB Notification: Performance of pre-optimization done (n=70): time 3.076e-06/2.184, allocations: 0 / 1.611 GB, free: 75.21 MB / 1.279 GB Notification: Performance of matching and sorting (n=70): time 0.004428/2.189, allocations: 1.463 MB / 1.612 GB, free: 75.02 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/2.189, allocations: 60.41 kB / 1.612 GB, free: 74.96 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/2.193, allocations: 2.983 MB / 1.615 GB, free: 74.67 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/2.194, allocations: 49.17 kB / 1.615 GB, free: 74.64 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009415/2.195, allocations: 1.268 MB / 1.617 GB, free: 74.29 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/2.195, allocations: 262.2 kB / 1.617 GB, free: 74.13 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005511/2.195, allocations: 424.5 kB / 1.617 GB, free: 74.1 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/2.195, allocations: 303.4 kB / 1.617 GB, free: 73.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/2.197, allocations: 0.8175 MB / 1.618 GB, free: 73.78 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/2.199, allocations: 1.313 MB / 1.62 GB, free: 73.25 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/2.202, allocations: 1.901 MB / 1.621 GB, free: 72.84 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/2.202, allocations: 4.734 kB / 1.621 GB, free: 72.84 MB / 1.279 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004839/2.207, allocations: 2.404 MB / 1.624 GB, free: 72.62 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/2.207, allocations: 10.19 kB / 1.624 GB, free: 72.62 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/2.207, allocations: 12.44 kB / 1.624 GB, free: 72.62 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.745e-05/2.207, allocations: 21.78 kB / 1.624 GB, free: 72.62 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/2.208, allocations: 384 kB / 1.624 GB, free: 72.62 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003095/2.209, allocations: 0.6117 MB / 1.625 GB, free: 72.04 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/2.211, allocations: 233.9 kB / 1.625 GB, free: 71.94 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/2.212, allocations: 76.86 kB / 1.625 GB, free: 71.93 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002735/2.214, allocations: 1.44 MB / 1.626 GB, free: 71.84 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001773/2.216, allocations: 1.289 MB / 1.628 GB, free: 71.32 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002988/2.219, allocations: 1.861 MB / 1.63 GB, free: 70.86 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.058e-05/2.219, allocations: 3.969 kB / 1.63 GB, free: 70.86 MB / 1.279 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004549/2.224, allocations: 2.352 MB / 1.632 GB, free: 70.63 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/2.224, allocations: 13.78 kB / 1.632 GB, free: 70.63 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/2.224, allocations: 14.17 kB / 1.632 GB, free: 70.63 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/2.224, allocations: 21.53 kB / 1.632 GB, free: 70.63 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/2.225, allocations: 357.5 kB / 1.632 GB, free: 70.62 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/2.225, allocations: 26.48 kB / 1.632 GB, free: 70.62 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/2.228, allocations: 188.3 kB / 1.632 GB, free: 70.57 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/2.228, allocations: 66.94 kB / 1.632 GB, free: 70.57 MB / 1.279 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.0005167/2.229, allocations: 271.6 kB / 1.633 GB, free: 70.38 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000811/2.229, allocations: 269.9 kB / 1.633 GB, free: 70.23 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/2.233, allocations: 1.129 MB / 1.634 GB, free: 70.13 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/2.233, allocations: 11.91 kB / 1.634 GB, free: 70.12 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/2.233, allocations: 0 / 1.634 GB, free: 70.12 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002062/2.235, allocations: 0.9153 MB / 1.635 GB, free: 69.94 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/2.242, allocations: 3.353 MB / 1.638 GB, free: 69.27 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/2.242, allocations: 0 / 1.638 GB, free: 69.27 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/2.243, allocations: 215.1 kB / 1.638 GB, free: 69.27 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/2.243, allocations: 6.312 kB / 1.638 GB, free: 69.27 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/2.243, allocations: 24.67 kB / 1.639 GB, free: 69.27 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002543/2.244, allocations: 0.5863 MB / 1.639 GB, free: 68.68 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.244, allocations: 2.812 kB / 1.639 GB, free: 68.68 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/2.248, allocations: 1.708 MB / 1.641 GB, free: 68.32 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/2.249, allocations: 477 kB / 1.641 GB, free: 68.07 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003798/2.25, allocations: 15.73 kB / 1.641 GB, free: 68.07 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/2.251, allocations: 83.77 kB / 1.641 GB, free: 68.06 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/2.251, allocations: 50.36 kB / 1.641 GB, free: 68.06 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/2.251, allocations: 31.09 kB / 1.641 GB, free: 68.05 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003148/2.254, allocations: 1.992 MB / 1.643 GB, free: 67.91 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.6e-07/2.254, allocations: 0 / 1.643 GB, free: 67.91 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003839/2.258, allocations: 1.264 MB / 1.645 GB, free: 67.76 MB / 1.279 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.001258/2.26, allocations: 0.4909 MB / 1.645 GB, free: 67.61 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.005603/2.265, allocations: 2.686 MB / 1.648 GB, free: 67.55 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/2.265, allocations: 0 / 1.648 GB, free: 67.55 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/2.266, allocations: 475.9 kB / 1.648 GB, free: 67.54 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006739/2.273, allocations: 1.456 MB / 1.65 GB, free: 67.27 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009027/2.282, allocations: 4.867 MB / 1.654 GB, free: 65.47 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/2.284, allocations: 1.91 MB / 1.656 GB, free: 64.71 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/2.285, allocations: 217 kB / 1.656 GB, free: 64.69 MB / 1.279 GB Notification: Performance of SimCode: time 8.52e-07/2.285, allocations: 0 / 1.656 GB, free: 64.69 MB / 1.279 GB Notification: Performance of Templates: time 0.07319/2.358, allocations: 58.87 MB / 1.714 GB, free: 17.1 MB / 1.279 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/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