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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 249.9 MB, free: 3.25 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 443.5 MB / 0.731 GB, free: 14.16 MB / 0.5763 GB [Timeout remaining time 87] 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=503,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=503,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.88 kB / 1.06 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 160.7 MB / 1.217 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.043/1.376, allocations: 326.4 MB / 1.535 GB, free: 9.191 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03857/1.414, allocations: 22.34 MB / 1.557 GB, free: 2.789 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004484/1.419, allocations: 99.44 kB / 1.557 GB, free: 2.691 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.007946/1.427, allocations: 2.41 MB / 1.56 GB, free: 284 kB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01326/1.44, allocations: 4.68 MB / 1.564 GB, free: 11.58 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.007234/1.447, allocations: 2.593 MB / 1.567 GB, free: 8.996 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.02132/1.469, allocations: 12.28 MB / 1.579 GB, free: 12.7 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003786/1.472, allocations: 1.838 MB / 1.581 GB, free: 10.81 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008547/1.481, allocations: 3.324 MB / 1.584 GB, free: 7.477 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/1.486, allocations: 1.99 MB / 1.586 GB, free: 5.488 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0009101/1.487, allocations: 236 kB / 1.586 GB, free: 5.258 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009211/1.496, allocations: 4.061 MB / 1.59 GB, free: 1.188 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001979/1.498, allocations: 1.184 MB / 1.591 GB, free: 0 / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003538/1.501, allocations: 1.707 MB / 1.593 GB, free: 14.28 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01256/1.514, allocations: 5.87 MB / 1.598 GB, free: 8.391 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.514, allocations: 0 / 1.598 GB, free: 8.391 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.114e-06/1.514, allocations: 7.875 kB / 1.598 GB, free: 8.383 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001288/1.514, allocations: 0 / 1.598 GB, free: 8.383 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.008817/1.523, allocations: 3.93 MB / 1.602 GB, free: 4.367 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.523, allocations: 8.031 kB / 1.602 GB, free: 4.359 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007412/1.53, allocations: 1.114 MB / 1.603 GB, free: 3.242 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008626/1.539, allocations: 4.063 MB / 1.607 GB, free: 15.12 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/1.539, allocations: 114.7 kB / 1.607 GB, free: 15 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/1.539, allocations: 156 kB / 1.608 GB, free: 14.85 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003986/1.543, allocations: 1.715 MB / 1.609 GB, free: 13.06 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/1.543, allocations: 3.938 kB / 1.609 GB, free: 13.06 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/1.544, allocations: 56 kB / 1.609 GB, free: 13 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/1.544, allocations: 50.59 kB / 1.609 GB, free: 12.95 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/1.548, allocations: 1.443 MB / 1.611 GB, free: 11.5 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.01474/1.562, allocations: 8.687 MB / 1.619 GB, free: 2.195 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/1.565, allocations: 0.9816 MB / 1.62 GB, free: 1.168 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.566, allocations: 482.2 kB / 1.621 GB, free: 0.6953 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/1.566, allocations: 105.6 kB / 1.621 GB, free: 0.5742 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.566, allocations: 39.12 kB / 1.621 GB, free: 0.5273 MB / 1.279 GB Notification: Performance of pre-optimization done (n=70): time 3.046e-06/1.566, allocations: 4 kB / 1.621 GB, free: 0.5234 MB / 1.279 GB Notification: Performance of matching and sorting (n=70): time 0.00454/1.571, allocations: 1.481 MB / 1.622 GB, free: 15.03 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.571, allocations: 59.97 kB / 1.622 GB, free: 14.96 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005199/1.576, allocations: 2.984 MB / 1.625 GB, free: 11.97 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/1.576, allocations: 49.7 kB / 1.625 GB, free: 11.92 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/1.578, allocations: 1.278 MB / 1.627 GB, free: 10.63 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/1.578, allocations: 277.7 kB / 1.627 GB, free: 10.36 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006583/1.579, allocations: 427.3 kB / 1.627 GB, free: 9.938 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.579, allocations: 309.1 kB / 1.628 GB, free: 9.633 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/1.58, allocations: 0.809 MB / 1.628 GB, free: 8.82 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/1.582, allocations: 1.326 MB / 1.63 GB, free: 7.297 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/1.586, allocations: 1.895 MB / 1.631 GB, free: 5.25 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.586, allocations: 8 kB / 1.631 GB, free: 5.242 MB / 1.295 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005012/1.591, allocations: 2.405 MB / 1.634 GB, free: 2.828 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/1.591, allocations: 8 kB / 1.634 GB, free: 2.82 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/1.591, allocations: 15.94 kB / 1.634 GB, free: 2.805 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/1.591, allocations: 20 kB / 1.634 GB, free: 2.785 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/1.593, allocations: 387.9 kB / 1.634 GB, free: 2.406 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004738/1.593, allocations: 0.6171 MB / 1.635 GB, free: 1.766 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/1.596, allocations: 238.7 kB / 1.635 GB, free: 1.531 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/1.596, allocations: 71.92 kB / 1.635 GB, free: 1.461 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002778/1.598, allocations: 1.442 MB / 1.637 GB, free: 16 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002001/1.6, allocations: 1.286 MB / 1.638 GB, free: 14.54 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003058/1.604, allocations: 1.861 MB / 1.64 GB, free: 12.52 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.696e-06/1.604, allocations: 4 kB / 1.64 GB, free: 12.52 MB / 1.311 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004856/1.608, allocations: 2.378 MB / 1.642 GB, free: 10.13 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.608, allocations: 12 kB / 1.642 GB, free: 10.12 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/1.608, allocations: 8 kB / 1.642 GB, free: 10.11 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.608, allocations: 20 kB / 1.642 GB, free: 10.09 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.61, allocations: 360 kB / 1.642 GB, free: 9.738 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/1.61, allocations: 31.8 kB / 1.642 GB, free: 9.707 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/1.612, allocations: 192.4 kB / 1.643 GB, free: 9.52 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.612, allocations: 67.98 kB / 1.643 GB, free: 9.453 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.0005079/1.613, allocations: 270.6 kB / 1.643 GB, free: 9.184 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/1.613, allocations: 282.1 kB / 1.643 GB, free: 8.906 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/1.617, allocations: 1.127 MB / 1.644 GB, free: 7.758 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.617, allocations: 4 kB / 1.644 GB, free: 7.754 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.617, allocations: 4 kB / 1.644 GB, free: 7.75 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002222/1.619, allocations: 0.9217 MB / 1.645 GB, free: 6.797 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007324/1.626, allocations: 3.342 MB / 1.648 GB, free: 3.344 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.626, allocations: 0 / 1.648 GB, free: 3.344 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.627, allocations: 215.8 kB / 1.649 GB, free: 3.133 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/1.627, allocations: 7.938 kB / 1.649 GB, free: 3.125 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/1.627, allocations: 19.98 kB / 1.649 GB, free: 3.105 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003928/1.628, allocations: 0.5907 MB / 1.649 GB, free: 2.492 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.628, allocations: 4.031 kB / 1.649 GB, free: 2.488 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/1.632, allocations: 1.72 MB / 1.651 GB, free: 0.7383 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.634, allocations: 491 kB / 1.651 GB, free: 244 kB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/1.634, allocations: 24 kB / 1.651 GB, free: 220 kB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.635, allocations: 79.91 kB / 1.651 GB, free: 140 kB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.635, allocations: 52.44 kB / 1.652 GB, free: 88 kB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.159e-05/1.635, allocations: 31.92 kB / 1.652 GB, free: 56 kB / 1.311 GB Notification: Performance of sorting global known variables: time 0.003565/1.639, allocations: 1.992 MB / 1.653 GB, free: 14.07 MB / 1.326 GB Notification: Performance of sort global known variables: time 8e-08/1.639, allocations: 0 / 1.653 GB, free: 14.07 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003684/1.643, allocations: 1.271 MB / 1.655 GB, free: 12.79 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.001329/1.644, allocations: 0.4949 MB / 1.655 GB, free: 12.3 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.005951/1.65, allocations: 2.467 MB / 1.658 GB, free: 9.836 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.65, allocations: 0 / 1.658 GB, free: 9.836 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/1.651, allocations: 455.9 kB / 1.658 GB, free: 9.395 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006587/1.658, allocations: 1.45 MB / 1.659 GB, free: 7.988 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/1.667, allocations: 4.961 MB / 1.664 GB, free: 2.973 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/1.669, allocations: 1.917 MB / 1.666 GB, free: 1.027 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009363/1.67, allocations: 223.3 kB / 1.666 GB, free: 0.8125 MB / 1.326 GB Notification: Performance of SimCode: time 1.352e-06/1.67, allocations: 0 / 1.666 GB, free: 0.8125 MB / 1.326 GB Notification: Performance of Templates: time 0.08962/1.76, allocations: 59.1 MB / 1.724 GB, free: 6.035 MB / 1.389 GB [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches