Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.005688/0.005688, allocations: 96.38 kB / 15.73 MB, free: 5.996 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.001282/0.001282, allocations: 186 kB / 16.67 MB, free: 5.926 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 59.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3014, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.915/1.216, allocations: 325.1 MB / 1.484 GB, free: 15.2 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03243/1.249, allocations: 22.27 MB / 1.506 GB, free: 8.871 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/1.252, allocations: 99.5 kB / 1.506 GB, free: 8.773 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006866/1.259, allocations: 2.399 MB / 1.508 GB, free: 6.363 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/1.271, allocations: 4.679 MB / 1.513 GB, free: 1.668 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.007815/1.279, allocations: 2.562 MB / 1.515 GB, free: 15.12 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01827/1.297, allocations: 12.18 MB / 1.527 GB, free: 2.918 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006432/1.303, allocations: 2.248 MB / 1.529 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/1.315, allocations: 3.316 MB / 1.533 GB, free: 13.3 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004323/1.319, allocations: 1.874 MB / 1.535 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001053/1.32, allocations: 240 kB / 1.535 GB, free: 11.2 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007978/1.328, allocations: 3.878 MB / 1.539 GB, free: 7.309 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001676/1.33, allocations: 1.153 MB / 1.54 GB, free: 6.152 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003562/1.333, allocations: 1.714 MB / 1.541 GB, free: 4.43 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/1.344, allocations: 5.866 MB / 1.547 GB, free: 14.54 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.344, allocations: 0 / 1.547 GB, free: 14.54 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.754e-06/1.344, allocations: 4 kB / 1.547 GB, free: 14.54 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001432/1.344, allocations: 4 kB / 1.547 GB, free: 14.54 MB / 1.217 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.008195/1.352, allocations: 3.922 MB / 1.551 GB, free: 10.53 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.353, allocations: 12.03 kB / 1.551 GB, free: 10.52 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007823/1.36, allocations: 1.114 MB / 1.552 GB, free: 9.398 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008884/1.369, allocations: 4.059 MB / 1.556 GB, free: 5.277 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/1.369, allocations: 114.7 kB / 1.556 GB, free: 5.164 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005256/1.37, allocations: 151.9 kB / 1.556 GB, free: 5.016 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004366/1.374, allocations: 1.715 MB / 1.558 GB, free: 3.227 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/1.374, allocations: 3.938 kB / 1.558 GB, free: 3.223 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/1.375, allocations: 60 kB / 1.558 GB, free: 3.164 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/1.375, allocations: 46.59 kB / 1.558 GB, free: 3.117 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/1.379, allocations: 1.447 MB / 1.559 GB, free: 1.664 MB / 1.217 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.01312/1.392, allocations: 8.698 MB / 1.568 GB, free: 8.348 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/1.394, allocations: 1.012 MB / 1.569 GB, free: 7.289 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/1.395, allocations: 0.4983 MB / 1.569 GB, free: 6.789 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/1.396, allocations: 105.6 kB / 1.569 GB, free: 6.668 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/1.396, allocations: 43.12 kB / 1.57 GB, free: 6.617 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 2.905e-06/1.396, allocations: 4 kB / 1.57 GB, free: 6.613 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.004435/1.4, allocations: 1.481 MB / 1.571 GB, free: 5.125 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/1.4, allocations: 59.97 kB / 1.571 GB, free: 5.055 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005225/1.405, allocations: 2.987 MB / 1.574 GB, free: 2.062 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/1.406, allocations: 49.7 kB / 1.574 GB, free: 2.008 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/1.407, allocations: 1.278 MB / 1.575 GB, free: 0.7188 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/1.407, allocations: 269.7 kB / 1.575 GB, free: 464 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006872/1.408, allocations: 427.3 kB / 1.576 GB, free: 32 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.408, allocations: 313 kB / 1.576 GB, free: 15.72 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/1.41, allocations: 0.8129 MB / 1.577 GB, free: 14.91 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/1.412, allocations: 1.318 MB / 1.578 GB, free: 13.39 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/1.415, allocations: 1.903 MB / 1.58 GB, free: 11.34 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/1.415, allocations: 4 kB / 1.58 GB, free: 11.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005193/1.42, allocations: 2.413 MB / 1.582 GB, free: 8.914 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/1.42, allocations: 8.469 kB / 1.582 GB, free: 8.906 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/1.42, allocations: 19.94 kB / 1.583 GB, free: 8.887 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.35e-05/1.42, allocations: 20 kB / 1.583 GB, free: 8.867 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/1.422, allocations: 388.2 kB / 1.583 GB, free: 8.488 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004149/1.423, allocations: 0.6133 MB / 1.584 GB, free: 7.852 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/1.425, allocations: 242.6 kB / 1.584 GB, free: 7.613 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/1.425, allocations: 71.98 kB / 1.584 GB, free: 7.543 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002745/1.428, allocations: 1.434 MB / 1.585 GB, free: 6.105 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001949/1.43, allocations: 1.294 MB / 1.586 GB, free: 4.617 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002945/1.433, allocations: 1.858 MB / 1.588 GB, free: 2.605 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.035e-05/1.433, allocations: 4 kB / 1.588 GB, free: 2.602 MB / 1.248 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.005004/1.438, allocations: 2.375 MB / 1.591 GB, free: 220 kB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.438, allocations: 12.06 kB / 1.591 GB, free: 208 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.438, allocations: 12 kB / 1.591 GB, free: 196 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/1.438, allocations: 23.94 kB / 1.591 GB, free: 172 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.439, allocations: 355.5 kB / 1.591 GB, free: 15.82 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-05/1.44, allocations: 31.91 kB / 1.591 GB, free: 15.79 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/1.442, allocations: 188.4 kB / 1.591 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.442, allocations: 67.98 kB / 1.591 GB, free: 15.54 MB / 1.264 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.0004032/1.442, allocations: 271.7 kB / 1.592 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006927/1.443, allocations: 286.1 kB / 1.592 GB, free: 14.98 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/1.446, allocations: 1.114 MB / 1.593 GB, free: 13.85 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.446, allocations: 12 kB / 1.593 GB, free: 13.84 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.446, allocations: 0 / 1.593 GB, free: 13.84 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002231/1.448, allocations: 0.9217 MB / 1.594 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007333/1.456, allocations: 3.345 MB / 1.597 GB, free: 9.43 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.456, allocations: 4 kB / 1.597 GB, free: 9.426 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.457, allocations: 207.8 kB / 1.597 GB, free: 9.223 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/1.457, allocations: 3.938 kB / 1.597 GB, free: 9.219 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/1.457, allocations: 23.98 kB / 1.597 GB, free: 9.195 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003254/1.457, allocations: 0.59 MB / 1.598 GB, free: 8.582 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.457, allocations: 7.875 kB / 1.598 GB, free: 8.574 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004119/1.462, allocations: 1.728 MB / 1.6 GB, free: 6.816 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.463, allocations: 486.9 kB / 1.6 GB, free: 6.32 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006642/1.464, allocations: 20 kB / 1.6 GB, free: 6.301 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.465, allocations: 83.91 kB / 1.6 GB, free: 6.219 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.465, allocations: 44.5 kB / 1.6 GB, free: 6.176 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/1.465, allocations: 35.86 kB / 1.6 GB, free: 6.141 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00373/1.469, allocations: 1.992 MB / 1.602 GB, free: 4.156 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.7e-07/1.469, allocations: 0 / 1.602 GB, free: 4.156 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003696/1.473, allocations: 1.271 MB / 1.603 GB, free: 2.883 MB / 1.264 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.001295/1.474, allocations: 0.4926 MB / 1.604 GB, free: 2.391 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006068/1.48, allocations: 2.683 MB / 1.606 GB, free: 15.71 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.48, allocations: 0 / 1.606 GB, free: 15.71 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/1.482, allocations: 483.2 kB / 1.607 GB, free: 15.24 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007134/1.489, allocations: 1.455 MB / 1.608 GB, free: 13.83 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009013/1.498, allocations: 4.79 MB / 1.613 GB, free: 8.992 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/1.5, allocations: 1.927 MB / 1.615 GB, free: 7.035 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002793/1.503, allocations: 0.7284 MB / 1.616 GB, free: 6.301 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007221/1.504, allocations: 203.4 kB / 1.616 GB, free: 6.105 MB / 1.279 GB Notification: Performance of SimCode: time 8.81e-07/1.504, allocations: 4 kB / 1.616 GB, free: 6.102 MB / 1.279 GB Notification: Performance of Templates: time 0.08385/1.587, allocations: 51.29 MB / 1.666 GB, free: 3.516 MB / 1.326 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches