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.001693/0.001693, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.001758/0.001759, allocations: 187 kB / 17.34 MB, free: 5.742 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.402/2.402, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.84 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8851/0.8866, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.3382/1.225, allocations: 325.1 MB / 1.485 GB, free: 13.59 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03707/1.262, allocations: 22.28 MB / 1.507 GB, free: 7.242 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004542/1.267, allocations: 95.5 kB / 1.507 GB, free: 7.148 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.007643/1.274, allocations: 2.397 MB / 1.509 GB, free: 4.742 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/1.288, allocations: 4.686 MB / 1.514 GB, free: 40 kB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007312/1.295, allocations: 2.567 MB / 1.516 GB, free: 13.48 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01907/1.314, allocations: 12.17 MB / 1.528 GB, free: 1.289 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004838/1.319, allocations: 2.24 MB / 1.53 GB, free: 15 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008849/1.328, allocations: 3.324 MB / 1.533 GB, free: 11.67 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004696/1.332, allocations: 1.868 MB / 1.535 GB, free: 9.801 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001085/1.334, allocations: 240 kB / 1.535 GB, free: 9.566 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008961/1.343, allocations: 3.882 MB / 1.539 GB, free: 5.676 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001973/1.345, allocations: 1.153 MB / 1.54 GB, free: 4.52 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.004155/1.349, allocations: 1.706 MB / 1.542 GB, free: 2.805 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.0132/1.362, allocations: 5.854 MB / 1.548 GB, free: 12.93 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.362, allocations: 0 / 1.548 GB, free: 12.93 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.064e-06/1.362, allocations: 4 kB / 1.548 GB, free: 12.93 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001857/1.362, allocations: 0 / 1.548 GB, free: 12.93 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.01102/1.373, allocations: 3.805 MB / 1.551 GB, free: 9.043 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.373, allocations: 8.625 kB / 1.551 GB, free: 9.035 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007668/1.381, allocations: 1.096 MB / 1.553 GB, free: 7.934 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009501/1.391, allocations: 4.037 MB / 1.556 GB, free: 3.832 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/1.391, allocations: 114.7 kB / 1.557 GB, free: 3.719 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/1.391, allocations: 148 kB / 1.557 GB, free: 3.574 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004783/1.396, allocations: 1.719 MB / 1.558 GB, free: 1.781 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/1.396, allocations: 4 kB / 1.558 GB, free: 1.777 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/1.396, allocations: 56 kB / 1.558 GB, free: 1.723 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/1.397, allocations: 46.59 kB / 1.558 GB, free: 1.676 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004037/1.401, allocations: 1.45 MB / 1.56 GB, free: 224 kB / 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.8117/2.212, allocations: 8.67 MB / 1.568 GB, free: 384.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/2.215, allocations: 1.007 MB / 1.569 GB, free: 383.7 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/2.216, allocations: 0.5038 MB / 1.57 GB, free: 383.5 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/2.216, allocations: 114.7 kB / 1.57 GB, free: 383.4 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/2.216, allocations: 43.03 kB / 1.57 GB, free: 383.3 MB / 1.279 GB Notification: Performance of pre-optimization done (n=70): time 3.326e-06/2.216, allocations: 0 / 1.57 GB, free: 383.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=70): time 0.004321/2.22, allocations: 1.458 MB / 1.571 GB, free: 382.9 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/2.221, allocations: 59.91 kB / 1.571 GB, free: 382.8 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/2.225, allocations: 2.982 MB / 1.574 GB, free: 381.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002222/2.225, allocations: 45.64 kB / 1.574 GB, free: 381.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009028/2.226, allocations: 1.271 MB / 1.576 GB, free: 380.8 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/2.226, allocations: 253.1 kB / 1.576 GB, free: 380.6 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/2.227, allocations: 434.1 kB / 1.576 GB, free: 380.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.545e-05/2.227, allocations: 309 kB / 1.577 GB, free: 380.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/2.228, allocations: 0.8148 MB / 1.577 GB, free: 379.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/2.23, allocations: 1.315 MB / 1.579 GB, free: 378.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/2.232, allocations: 1.905 MB / 1.581 GB, free: 377.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/2.233, allocations: 3.562 kB / 1.581 GB, free: 377.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004141/2.237, allocations: 2.395 MB / 1.583 GB, free: 376.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/2.237, allocations: 8 kB / 1.583 GB, free: 376.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/2.237, allocations: 12 kB / 1.583 GB, free: 376.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/2.237, allocations: 23.98 kB / 1.583 GB, free: 376.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/2.238, allocations: 381.6 kB / 1.583 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000302/2.239, allocations: 0.617 MB / 1.584 GB, free: 375.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/2.241, allocations: 237.7 kB / 1.584 GB, free: 375.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/2.241, allocations: 71.8 kB / 1.584 GB, free: 375 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002219/2.243, allocations: 1.436 MB / 1.586 GB, free: 373.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001372/2.245, allocations: 1.292 MB / 1.587 GB, free: 372.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002297/2.247, allocations: 1.869 MB / 1.589 GB, free: 370.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.937e-06/2.247, allocations: 3.844 kB / 1.589 GB, free: 370.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.003648/2.251, allocations: 2.352 MB / 1.591 GB, free: 367.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/2.251, allocations: 8 kB / 1.591 GB, free: 367.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/2.251, allocations: 12 kB / 1.591 GB, free: 367.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/2.251, allocations: 20 kB / 1.591 GB, free: 367.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/2.252, allocations: 362.3 kB / 1.591 GB, free: 367.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/2.252, allocations: 31.86 kB / 1.591 GB, free: 367.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/2.254, allocations: 191.2 kB / 1.592 GB, free: 367.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/2.254, allocations: 67.98 kB / 1.592 GB, free: 367.2 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.0003966/2.255, allocations: 270.5 kB / 1.592 GB, free: 366.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005294/2.255, allocations: 268.4 kB / 1.592 GB, free: 366.6 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/2.258, allocations: 1.115 MB / 1.593 GB, free: 365.5 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/2.258, allocations: 15.25 kB / 1.593 GB, free: 365.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/2.258, allocations: 0 / 1.593 GB, free: 365.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001774/2.26, allocations: 0.9236 MB / 1.594 GB, free: 364.6 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/2.266, allocations: 3.338 MB / 1.597 GB, free: 361.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/2.266, allocations: 4 kB / 1.597 GB, free: 361.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/2.267, allocations: 213.8 kB / 1.598 GB, free: 360.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/2.267, allocations: 4 kB / 1.598 GB, free: 360.9 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/2.267, allocations: 19.97 kB / 1.598 GB, free: 360.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002248/2.267, allocations: 0.5937 MB / 1.598 GB, free: 360.3 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/2.267, allocations: 0 / 1.598 GB, free: 360.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/2.271, allocations: 1.711 MB / 1.6 GB, free: 358.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/2.272, allocations: 473.4 kB / 1.6 GB, free: 358.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/2.272, allocations: 15.94 kB / 1.6 GB, free: 358 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/2.274, allocations: 87.84 kB / 1.6 GB, free: 358 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/2.274, allocations: 52.44 kB / 1.601 GB, free: 357.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/2.274, allocations: 27.98 kB / 1.601 GB, free: 357.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00255/2.276, allocations: 1.992 MB / 1.602 GB, free: 355.9 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.4e-07/2.276, allocations: 0 / 1.602 GB, free: 355.9 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00313/2.279, allocations: 1.264 MB / 1.604 GB, free: 354.6 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.001147/2.281, allocations: 493 kB / 1.604 GB, free: 354.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004722/2.285, allocations: 2.692 MB / 1.607 GB, free: 351.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/2.285, allocations: 4 kB / 1.607 GB, free: 351.5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/2.286, allocations: 479.2 kB / 1.607 GB, free: 351.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0057/2.292, allocations: 1.453 MB / 1.609 GB, free: 349.7 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/2.299, allocations: 4.864 MB / 1.613 GB, free: 344.8 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/2.3, allocations: 1.921 MB / 1.615 GB, free: 342.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007465/2.301, allocations: 223.4 kB / 1.616 GB, free: 342.6 MB / 1.279 GB Notification: Performance of SimCode: time 7.21e-07/2.301, allocations: 0 / 1.616 GB, free: 342.6 MB / 1.279 GB Notification: Performance of Templates: time 0.06507/2.366, allocations: 58.86 MB / 1.673 GB, free: 284.1 MB / 1.279 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/jenkins1/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