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.001137/0.001137, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001192/0.001192, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 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.477/2.477, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 71.83 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7659, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.3075/1.073, allocations: 325.1 MB / 1.485 GB, free: 13.56 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03087/1.104, allocations: 22.28 MB / 1.507 GB, free: 7.227 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/1.108, allocations: 95.5 kB / 1.507 GB, free: 7.133 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.006592/1.114, allocations: 2.392 MB / 1.509 GB, free: 4.73 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/1.126, allocations: 4.683 MB / 1.514 GB, free: 32 kB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006632/1.133, allocations: 2.572 MB / 1.516 GB, free: 13.47 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01731/1.15, allocations: 12.17 MB / 1.528 GB, free: 1.277 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003967/1.154, allocations: 2.24 MB / 1.53 GB, free: 14.99 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007606/1.162, allocations: 3.324 MB / 1.533 GB, free: 11.66 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004244/1.166, allocations: 1.864 MB / 1.535 GB, free: 9.789 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0009786/1.167, allocations: 240 kB / 1.535 GB, free: 9.555 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008446/1.175, allocations: 3.886 MB / 1.539 GB, free: 5.66 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001796/1.177, allocations: 1.161 MB / 1.54 GB, free: 4.496 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003827/1.181, allocations: 1.703 MB / 1.542 GB, free: 2.785 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/1.192, allocations: 5.85 MB / 1.548 GB, free: 12.92 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.192, allocations: 4 kB / 1.548 GB, free: 12.91 MB / 1.279 GB Notification: Performance of FrontEnd: time 5.069e-06/1.192, allocations: 0 / 1.548 GB, free: 12.91 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001652/1.192, allocations: 3.938 kB / 1.548 GB, free: 12.91 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.009183/1.201, allocations: 3.804 MB / 1.551 GB, free: 9.027 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.201, allocations: 8.922 kB / 1.551 GB, free: 9.02 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007898/1.209, allocations: 1.1 MB / 1.553 GB, free: 7.914 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008847/1.218, allocations: 4.033 MB / 1.556 GB, free: 3.816 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/1.218, allocations: 118.7 kB / 1.557 GB, free: 3.699 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004808/1.219, allocations: 156 kB / 1.557 GB, free: 3.547 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/1.223, allocations: 1.711 MB / 1.558 GB, free: 1.762 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/1.223, allocations: 0 / 1.558 GB, free: 1.762 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/1.223, allocations: 56 kB / 1.558 GB, free: 1.707 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/1.224, allocations: 54.58 kB / 1.558 GB, free: 1.652 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004001/1.228, allocations: 1.439 MB / 1.56 GB, free: 212 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.5514/1.779, allocations: 8.673 MB / 1.568 GB, free: 384.7 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/1.781, allocations: 1.012 MB / 1.569 GB, free: 384.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/1.782, allocations: 0.507 MB / 1.57 GB, free: 384.1 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/1.782, allocations: 107 kB / 1.57 GB, free: 384 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/1.782, allocations: 50.22 kB / 1.57 GB, free: 383.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=70): time 2.485e-06/1.782, allocations: 0 / 1.57 GB, free: 383.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=70): time 0.003837/1.786, allocations: 1.458 MB / 1.571 GB, free: 383.5 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/1.786, allocations: 63.12 kB / 1.571 GB, free: 383.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/1.789, allocations: 2.977 MB / 1.574 GB, free: 382.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/1.79, allocations: 41.64 kB / 1.574 GB, free: 382.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007186/1.79, allocations: 1.27 MB / 1.576 GB, free: 381.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/1.79, allocations: 264 kB / 1.576 GB, free: 381.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/1.791, allocations: 431.9 kB / 1.576 GB, free: 381 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.448e-05/1.791, allocations: 308.4 kB / 1.577 GB, free: 380.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.792, allocations: 0.8134 MB / 1.577 GB, free: 380.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/1.794, allocations: 1.31 MB / 1.579 GB, free: 379.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/1.797, allocations: 1.914 MB / 1.581 GB, free: 378.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/1.797, allocations: 3.688 kB / 1.581 GB, free: 378.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003845/1.801, allocations: 2.388 MB / 1.583 GB, free: 377.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.801, allocations: 10.59 kB / 1.583 GB, free: 377.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/1.801, allocations: 16.53 kB / 1.583 GB, free: 377.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/1.801, allocations: 18.34 kB / 1.583 GB, free: 377.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.802, allocations: 378.6 kB / 1.583 GB, free: 376.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002311/1.802, allocations: 0.6203 MB / 1.584 GB, free: 376.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.804, allocations: 234.1 kB / 1.584 GB, free: 375.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.804, allocations: 75.06 kB / 1.584 GB, free: 375.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002015/1.806, allocations: 1.432 MB / 1.586 GB, free: 374.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001384/1.808, allocations: 1.286 MB / 1.587 GB, free: 373 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002308/1.81, allocations: 1.867 MB / 1.589 GB, free: 371 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.841e-06/1.81, allocations: 4 kB / 1.589 GB, free: 371 MB / 1.279 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.00336/1.813, allocations: 2.351 MB / 1.591 GB, free: 368.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.814, allocations: 8 kB / 1.591 GB, free: 368.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.814, allocations: 12 kB / 1.591 GB, free: 368.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.814, allocations: 20 kB / 1.591 GB, free: 368.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.815, allocations: 361.7 kB / 1.591 GB, free: 368.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/1.815, allocations: 27.92 kB / 1.591 GB, free: 368.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.817, allocations: 191.1 kB / 1.592 GB, free: 368.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/1.817, allocations: 67.98 kB / 1.592 GB, free: 368 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.0002955/1.817, allocations: 273.4 kB / 1.592 GB, free: 367.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/1.817, allocations: 271.8 kB / 1.592 GB, free: 367.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/1.82, allocations: 1.131 MB / 1.593 GB, free: 366.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001952/1.822, allocations: 0.9199 MB / 1.594 GB, free: 365.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.822, allocations: 11.22 kB / 1.594 GB, free: 365.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008379/1.823, allocations: 473.3 kB / 1.595 GB, free: 364.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.823, allocations: 19.94 kB / 1.595 GB, free: 364.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.824, allocations: 75.48 kB / 1.595 GB, free: 364.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/1.824, allocations: 44.59 kB / 1.595 GB, free: 364.8 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002842/1.827, allocations: 1.107 MB / 1.596 GB, free: 363.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00327/1.831, allocations: 1.8 MB / 1.598 GB, free: 361.9 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009468/1.832, allocations: 445 kB / 1.598 GB, free: 361.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002383/1.834, allocations: 1.992 MB / 1.6 GB, free: 359.4 MB / 1.279 GB Notification: Performance of Backend: time 4.01e-07/1.834, allocations: 4 kB / 1.6 GB, free: 359.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006374/1.84, allocations: 3.257 MB / 1.603 GB, free: 356.4 MB / 1.279 GB Notification: Performance of SimCode: time 0.009211/1.85, allocations: 6.267 MB / 1.609 GB, free: 350.1 MB / 1.279 GB Notification: Performance of Templates: time 0.07749/1.927, allocations: 63.52 MB / 1.671 GB, free: 287.3 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