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.005535/0.005535, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001254/0.001254, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.452/2.452, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7889, allocations: 151.6 MB / 1.167 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.3497/1.139, allocations: 325.1 MB / 1.484 GB, free: 13.7 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03821/1.177, allocations: 22.28 MB / 1.506 GB, free: 7.363 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004723/1.182, allocations: 95.5 kB / 1.506 GB, free: 7.27 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.007546/1.189, allocations: 2.362 MB / 1.508 GB, free: 4.898 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/1.203, allocations: 4.514 MB / 1.513 GB, free: 376 kB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006843/1.209, allocations: 2.563 MB / 1.515 GB, free: 13.82 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01868/1.228, allocations: 12.16 MB / 1.527 GB, free: 1.633 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003924/1.232, allocations: 2.24 MB / 1.529 GB, free: 15.35 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006846/1.239, allocations: 3.219 MB / 1.532 GB, free: 12.12 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003864/1.243, allocations: 1.866 MB / 1.534 GB, free: 10.25 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0008592/1.244, allocations: 240 kB / 1.534 GB, free: 10.02 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00763/1.251, allocations: 3.871 MB / 1.538 GB, free: 6.137 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001679/1.253, allocations: 1.168 MB / 1.539 GB, free: 4.965 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003216/1.256, allocations: 1.699 MB / 1.541 GB, free: 3.258 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/1.268, allocations: 5.878 MB / 1.547 GB, free: 13.36 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.268, allocations: 4 kB / 1.547 GB, free: 13.36 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.733e-06/1.268, allocations: 0 / 1.547 GB, free: 13.36 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000169/1.268, allocations: 0 / 1.547 GB, free: 13.36 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.008607/1.277, allocations: 3.922 MB / 1.551 GB, free: 9.348 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.277, allocations: 8.922 kB / 1.551 GB, free: 9.34 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007528/1.284, allocations: 1.114 MB / 1.552 GB, free: 8.223 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008211/1.292, allocations: 4.059 MB / 1.556 GB, free: 4.102 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/1.293, allocations: 114.7 kB / 1.556 GB, free: 3.988 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/1.293, allocations: 156 kB / 1.556 GB, free: 3.836 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004444/1.297, allocations: 1.723 MB / 1.558 GB, free: 2.039 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/1.298, allocations: 0 / 1.558 GB, free: 2.039 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/1.298, allocations: 56 kB / 1.558 GB, free: 1.984 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-05/1.298, allocations: 50.59 kB / 1.558 GB, free: 1.934 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/1.302, allocations: 1.446 MB / 1.559 GB, free: 492 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.5699/1.872, allocations: 8.679 MB / 1.568 GB, free: 385 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/1.874, allocations: 1.012 MB / 1.569 GB, free: 384.5 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/1.875, allocations: 0.5066 MB / 1.569 GB, free: 384.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/1.875, allocations: 113.4 kB / 1.569 GB, free: 384.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/1.875, allocations: 39.61 kB / 1.569 GB, free: 384.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=70): time 2.374e-06/1.875, allocations: 3.969 kB / 1.569 GB, free: 384.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=70): time 0.003862/1.879, allocations: 1.471 MB / 1.571 GB, free: 383.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/1.879, allocations: 67.81 kB / 1.571 GB, free: 383.7 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/1.882, allocations: 2.979 MB / 1.574 GB, free: 382.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.883, allocations: 41.67 kB / 1.574 GB, free: 382.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007417/1.883, allocations: 1.283 MB / 1.575 GB, free: 381.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/1.884, allocations: 271.8 kB / 1.575 GB, free: 381.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004909/1.884, allocations: 431.6 kB / 1.576 GB, free: 381.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/1.884, allocations: 305.1 kB / 1.576 GB, free: 381 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.885, allocations: 0.8152 MB / 1.577 GB, free: 380.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/1.887, allocations: 1.316 MB / 1.578 GB, free: 379.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/1.89, allocations: 1.904 MB / 1.58 GB, free: 378.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.89, allocations: 3.594 kB / 1.58 GB, free: 378.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003794/1.894, allocations: 2.416 MB / 1.582 GB, free: 377.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.894, allocations: 9.812 kB / 1.582 GB, free: 377.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.894, allocations: 12.02 kB / 1.582 GB, free: 377.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/1.894, allocations: 26.69 kB / 1.582 GB, free: 377.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/1.895, allocations: 382.9 kB / 1.583 GB, free: 377.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002459/1.895, allocations: 0.6194 MB / 1.583 GB, free: 376.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.897, allocations: 241.4 kB / 1.583 GB, free: 376.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.897, allocations: 70.17 kB / 1.583 GB, free: 376.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001995/1.899, allocations: 1.436 MB / 1.585 GB, free: 374.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001421/1.901, allocations: 1.298 MB / 1.586 GB, free: 373.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002344/1.903, allocations: 1.863 MB / 1.588 GB, free: 371.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/1.903, allocations: 4 kB / 1.588 GB, free: 371.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.003374/1.907, allocations: 2.36 MB / 1.59 GB, free: 369.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.907, allocations: 12 kB / 1.59 GB, free: 369.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.907, allocations: 8 kB / 1.59 GB, free: 369.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.907, allocations: 20 kB / 1.59 GB, free: 369.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.908, allocations: 363.3 kB / 1.591 GB, free: 368.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/1.908, allocations: 27.86 kB / 1.591 GB, free: 368.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/1.91, allocations: 196.2 kB / 1.591 GB, free: 368.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/1.91, allocations: 67.98 kB / 1.591 GB, free: 368.5 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.0002954/1.91, allocations: 267.6 kB / 1.591 GB, free: 368.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/1.91, allocations: 286.1 kB / 1.591 GB, free: 367.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/1.913, allocations: 1.122 MB / 1.593 GB, free: 366.8 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.913, allocations: 11.94 kB / 1.593 GB, free: 366.8 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.913, allocations: 3.984 kB / 1.593 GB, free: 366.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001936/1.915, allocations: 0.9201 MB / 1.593 GB, free: 365.9 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/1.92, allocations: 3.348 MB / 1.597 GB, free: 362.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/1.92, allocations: 0 / 1.597 GB, free: 362.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.921, allocations: 210 kB / 1.597 GB, free: 362.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/1.921, allocations: 4 kB / 1.597 GB, free: 362.2 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/1.922, allocations: 19.98 kB / 1.597 GB, free: 362.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001817/1.922, allocations: 0.5937 MB / 1.598 GB, free: 361.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.922, allocations: 8.125 kB / 1.598 GB, free: 361.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/1.926, allocations: 1.72 MB / 1.599 GB, free: 359.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009896/1.927, allocations: 486.9 kB / 1.6 GB, free: 359.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005968/1.927, allocations: 19.94 kB / 1.6 GB, free: 359.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.929, allocations: 83.91 kB / 1.6 GB, free: 359.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/1.929, allocations: 40.5 kB / 1.6 GB, free: 359.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/1.929, allocations: 31.98 kB / 1.6 GB, free: 359.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003002/1.932, allocations: 1.995 MB / 1.602 GB, free: 357.2 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.31e-07/1.932, allocations: 0 / 1.602 GB, free: 357.2 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004741/1.937, allocations: 1.263 MB / 1.603 GB, free: 355.9 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.001205/1.938, allocations: 0.5028 MB / 1.604 GB, free: 355.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004843/1.943, allocations: 2.688 MB / 1.606 GB, free: 352.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.943, allocations: 5.875 kB / 1.606 GB, free: 352.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/1.944, allocations: 475.1 kB / 1.607 GB, free: 352.3 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005558/1.95, allocations: 1.454 MB / 1.608 GB, free: 350.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007656/1.957, allocations: 4.785 MB / 1.613 GB, free: 346.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/1.959, allocations: 1.931 MB / 1.615 GB, free: 344.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002498/1.961, allocations: 0.7206 MB / 1.615 GB, free: 343.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/1.962, allocations: 207.4 kB / 1.615 GB, free: 343.2 MB / 1.279 GB Notification: Performance of SimCode: time 2.81e-07/1.962, allocations: 0 / 1.615 GB, free: 343.2 MB / 1.279 GB Notification: Performance of Templates: time 0.06587/2.028, allocations: 51.3 MB / 1.666 GB, free: 292.6 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/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