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.001629/0.00163, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 197 kB / 16.54 MB, free: 6.672 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.574/2.574, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 67.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.731, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.876/1.607, allocations: 325.1 MB / 1.335 GB, free: 37.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0273/1.634, allocations: 22.29 MB / 1.356 GB, free: 37.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004218/1.639, allocations: 100.2 kB / 1.357 GB, free: 37.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01311/1.652, allocations: 7.692 MB / 1.364 GB, free: 35.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01185/1.664, allocations: 4.259 MB / 1.368 GB, free: 34.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006245/1.67, allocations: 2.419 MB / 1.371 GB, free: 33.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01592/1.686, allocations: 11.94 MB / 1.382 GB, free: 30.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003174/1.689, allocations: 2.185 MB / 1.384 GB, free: 28.8 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006146/1.695, allocations: 3.14 MB / 1.387 GB, free: 27.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/1.698, allocations: 1.81 MB / 1.389 GB, free: 26.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004825/1.699, allocations: 229.9 kB / 1.389 GB, free: 26.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006775/1.706, allocations: 3.853 MB / 1.393 GB, free: 24.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009376/1.707, allocations: 1.135 MB / 1.394 GB, free: 23.81 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/1.709, allocations: 1.691 MB / 1.396 GB, free: 22.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009007/1.718, allocations: 5.721 MB / 1.402 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.718, allocations: 0 / 1.402 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/1.718, allocations: 0 / 1.402 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.385e-05/1.718, allocations: 0 / 1.402 GB, free: 16.68 MB / 0.9981 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.004798/1.722, allocations: 3.769 MB / 1.405 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/1.722, allocations: 8.031 kB / 1.405 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006678/1.729, allocations: 1.102 MB / 1.406 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005403/1.735, allocations: 3.875 MB / 1.41 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/1.735, allocations: 174.7 kB / 1.41 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/1.735, allocations: 155 kB / 1.41 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/1.738, allocations: 1.728 MB / 1.412 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/1.738, allocations: 0 / 1.412 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/1.738, allocations: 60 kB / 1.412 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/1.738, allocations: 46.59 kB / 1.412 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003216/1.742, allocations: 1.47 MB / 1.414 GB, free: 4.242 MB / 0.9981 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.01045/1.752, allocations: 8.71 MB / 1.422 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/1.754, allocations: 1.05 MB / 1.423 GB, free: 9.977 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/1.756, allocations: 0.506 MB / 1.424 GB, free: 9.469 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/1.756, allocations: 108.3 kB / 1.424 GB, free: 9.344 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.756, allocations: 52.23 kB / 1.424 GB, free: 9.289 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/1.756, allocations: 0 / 1.424 GB, free: 9.289 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.004521/1.761, allocations: 1.483 MB / 1.425 GB, free: 7.797 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/1.761, allocations: 55.97 kB / 1.425 GB, free: 7.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/1.765, allocations: 2.951 MB / 1.428 GB, free: 4.777 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/1.765, allocations: 49.7 kB / 1.428 GB, free: 4.723 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/1.766, allocations: 1.27 MB / 1.429 GB, free: 3.453 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/1.766, allocations: 255 kB / 1.43 GB, free: 3.207 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005888/1.767, allocations: 435 kB / 1.43 GB, free: 2.773 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/1.767, allocations: 301.1 kB / 1.43 GB, free: 2.477 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.768, allocations: 0.8207 MB / 1.431 GB, free: 1.652 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/1.771, allocations: 1.331 MB / 1.433 GB, free: 136 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/1.774, allocations: 1.916 MB / 1.434 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.774, allocations: 4 kB / 1.434 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004756/1.779, allocations: 2.409 MB / 1.437 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.779, allocations: 12 kB / 1.437 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/1.779, allocations: 15.98 kB / 1.437 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/1.779, allocations: 16.47 kB / 1.437 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/1.781, allocations: 394 kB / 1.437 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003675/1.781, allocations: 0.6076 MB / 1.438 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.783, allocations: 242.9 kB / 1.438 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.783, allocations: 83.91 kB / 1.438 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002516/1.786, allocations: 1.441 MB / 1.439 GB, free: 8.949 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001926/1.788, allocations: 1.304 MB / 1.441 GB, free: 7.461 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003065/1.791, allocations: 1.876 MB / 1.443 GB, free: 5.469 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.823e-06/1.791, allocations: 8 kB / 1.443 GB, free: 5.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004292/1.795, allocations: 2.369 MB / 1.445 GB, free: 3.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.795, allocations: 9.562 kB / 1.445 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.795, allocations: 16 kB / 1.445 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.062e-05/1.795, allocations: 23.94 kB / 1.445 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.796, allocations: 366.2 kB / 1.445 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/1.797, allocations: 27.17 kB / 1.445 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/1.798, allocations: 196.9 kB / 1.446 GB, free: 2.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/1.799, allocations: 67.98 kB / 1.446 GB, free: 2.484 MB / 1.029 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.0003593/1.799, allocations: 276.4 kB / 1.446 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/1.799, allocations: 268.4 kB / 1.446 GB, free: 1.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/1.802, allocations: 1.142 MB / 1.447 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.802, allocations: 8 kB / 1.447 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.803, allocations: 0 / 1.447 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00237/1.805, allocations: 0.9447 MB / 1.448 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006392/1.811, allocations: 3.36 MB / 1.451 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.811, allocations: 0 / 1.451 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.812, allocations: 210.3 kB / 1.452 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/1.812, allocations: 8 kB / 1.452 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/1.813, allocations: 23.97 kB / 1.452 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003055/1.813, allocations: 0.5847 MB / 1.452 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.813, allocations: 0 / 1.452 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/1.817, allocations: 1.741 MB / 1.454 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008555/1.818, allocations: 477.4 kB / 1.454 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/1.818, allocations: 15.98 kB / 1.454 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.819, allocations: 87.91 kB / 1.454 GB, free: 9.188 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.82, allocations: 50.88 kB / 1.455 GB, free: 9.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/1.82, allocations: 23.98 kB / 1.455 GB, free: 9.117 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002817/1.822, allocations: 1.968 MB / 1.456 GB, free: 7.156 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.822, allocations: 0 / 1.456 GB, free: 7.156 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003017/1.826, allocations: 1.255 MB / 1.458 GB, free: 5.898 MB / 1.045 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.00114/1.827, allocations: 0.5019 MB / 1.458 GB, free: 5.426 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006155/1.833, allocations: 2.782 MB / 1.461 GB, free: 2.738 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.833, allocations: 128 / 1.461 GB, free: 2.738 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/1.834, allocations: 486.8 kB / 1.461 GB, free: 2.281 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005899/1.84, allocations: 1.464 MB / 1.463 GB, free: 0.875 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008177/1.848, allocations: 4.766 MB / 1.467 GB, free: 12.08 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/1.85, allocations: 1.931 MB / 1.469 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003084/1.853, allocations: 0.7206 MB / 1.47 GB, free: 9.387 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/1.854, allocations: 211.4 kB / 1.47 GB, free: 9.18 MB / 1.061 GB Notification: Performance of SimCode: time 7.22e-07/1.854, allocations: 0 / 1.47 GB, free: 9.18 MB / 1.061 GB Notification: Performance of Templates: time 0.08545/1.939, allocations: 53.02 MB / 1.522 GB, free: 5.051 MB / 1.107 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