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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001599/0.001599, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001871/0.001871, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.339/1.339, 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.0-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 68.73 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2938, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8144/1.108, allocations: 325.1 MB / 1.336 GB, free: 3.398 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02982/1.138, allocations: 22.28 MB / 1.358 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00433/1.142, allocations: 99.5 kB / 1.358 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01413/1.157, allocations: 7.697 MB / 1.366 GB, free: 5.266 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/1.167, allocations: 4.265 MB / 1.37 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006659/1.174, allocations: 2.439 MB / 1.372 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01637/1.19, allocations: 11.95 MB / 1.384 GB, free: 2.586 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/1.193, allocations: 2.197 MB / 1.386 GB, free: 348 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006719/1.2, allocations: 3.16 MB / 1.389 GB, free: 13.17 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/1.204, allocations: 1.818 MB / 1.391 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005328/1.204, allocations: 231.9 kB / 1.391 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007421/1.212, allocations: 3.855 MB / 1.395 GB, free: 7.258 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/1.213, allocations: 1.141 MB / 1.396 GB, free: 6.113 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002025/1.215, allocations: 1.687 MB / 1.398 GB, free: 4.418 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008866/1.224, allocations: 5.772 MB / 1.403 GB, free: 14.63 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.224, allocations: 0 / 1.403 GB, free: 14.63 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.493e-06/1.224, allocations: 0 / 1.403 GB, free: 14.63 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.138e-05/1.224, allocations: 4 kB / 1.403 GB, free: 14.62 MB / 1.107 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.006066/1.23, allocations: 3.759 MB / 1.407 GB, free: 10.79 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/1.23, allocations: 12.92 kB / 1.407 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006957/1.237, allocations: 1.104 MB / 1.408 GB, free: 9.664 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006624/1.244, allocations: 3.939 MB / 1.412 GB, free: 5.66 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.577e-05/1.244, allocations: 114.7 kB / 1.412 GB, free: 5.547 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/1.244, allocations: 152 kB / 1.412 GB, free: 5.398 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/1.248, allocations: 1.715 MB / 1.414 GB, free: 3.609 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/1.248, allocations: 0 / 1.414 GB, free: 3.609 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/1.248, allocations: 56 kB / 1.414 GB, free: 3.555 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/1.248, allocations: 58.53 kB / 1.414 GB, free: 3.496 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/1.251, allocations: 1.447 MB / 1.415 GB, free: 2.043 MB / 1.107 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.01123/1.262, allocations: 8.645 MB / 1.424 GB, free: 8.781 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/1.265, allocations: 1.015 MB / 1.425 GB, free: 7.719 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/1.266, allocations: 0.4944 MB / 1.425 GB, free: 7.223 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/1.266, allocations: 109.6 kB / 1.425 GB, free: 7.098 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.266, allocations: 43.12 kB / 1.425 GB, free: 7.047 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/1.266, allocations: 0 / 1.425 GB, free: 7.047 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.004129/1.27, allocations: 1.464 MB / 1.427 GB, free: 5.578 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/1.27, allocations: 59.97 kB / 1.427 GB, free: 5.508 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004311/1.275, allocations: 2.948 MB / 1.43 GB, free: 2.555 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002343/1.275, allocations: 45.7 kB / 1.43 GB, free: 2.504 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/1.276, allocations: 1.272 MB / 1.431 GB, free: 1.219 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/1.276, allocations: 260.4 kB / 1.431 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006417/1.277, allocations: 431 kB / 1.432 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.277, allocations: 305.1 kB / 1.432 GB, free: 236 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/1.279, allocations: 0.813 MB / 1.433 GB, free: 15.41 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/1.281, allocations: 1.322 MB / 1.434 GB, free: 13.89 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/1.284, allocations: 1.903 MB / 1.436 GB, free: 11.84 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.284, allocations: 4 kB / 1.436 GB, free: 11.83 MB / 1.139 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004519/1.289, allocations: 2.396 MB / 1.438 GB, free: 9.426 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.289, allocations: 8 kB / 1.438 GB, free: 9.418 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.289, allocations: 15.94 kB / 1.438 GB, free: 9.402 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/1.289, allocations: 24.41 kB / 1.438 GB, free: 9.379 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.29, allocations: 391.4 kB / 1.439 GB, free: 8.996 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003662/1.291, allocations: 0.6055 MB / 1.439 GB, free: 8.367 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/1.293, allocations: 230.7 kB / 1.439 GB, free: 8.141 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/1.293, allocations: 71.98 kB / 1.44 GB, free: 8.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002418/1.295, allocations: 1.433 MB / 1.441 GB, free: 6.633 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001719/1.297, allocations: 1.298 MB / 1.442 GB, free: 5.137 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002762/1.3, allocations: 1.858 MB / 1.444 GB, free: 3.133 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.965e-06/1.3, allocations: 4 kB / 1.444 GB, free: 3.129 MB / 1.139 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004022/1.304, allocations: 2.357 MB / 1.446 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.304, allocations: 8 kB / 1.446 GB, free: 0.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.304, allocations: 12 kB / 1.446 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.304, allocations: 24.45 kB / 1.446 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.305, allocations: 359.4 kB / 1.447 GB, free: 372 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/1.305, allocations: 27.92 kB / 1.447 GB, free: 344 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/1.307, allocations: 191.4 kB / 1.447 GB, free: 152 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.307, allocations: 67.98 kB / 1.447 GB, free: 84 kB / 1.139 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.0003445/1.307, allocations: 266 kB / 1.447 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/1.308, allocations: 272.4 kB / 1.447 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/1.311, allocations: 1.126 MB / 1.449 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/1.311, allocations: 4 kB / 1.449 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.311, allocations: 8 kB / 1.449 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002119/1.313, allocations: 0.9255 MB / 1.449 GB, free: 13.43 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006402/1.319, allocations: 3.321 MB / 1.453 GB, free: 9.996 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.319, allocations: 0 / 1.453 GB, free: 9.996 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.32, allocations: 211.9 kB / 1.453 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.862e-05/1.32, allocations: 11.88 kB / 1.453 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/1.321, allocations: 27.92 kB / 1.453 GB, free: 9.75 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002999/1.321, allocations: 0.5822 MB / 1.454 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.321, allocations: 0 / 1.454 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/1.325, allocations: 1.711 MB / 1.455 GB, free: 7.402 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.326, allocations: 469.4 kB / 1.456 GB, free: 6.922 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/1.326, allocations: 20 kB / 1.456 GB, free: 6.902 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.327, allocations: 83.83 kB / 1.456 GB, free: 6.82 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.328, allocations: 40.5 kB / 1.456 GB, free: 6.781 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/1.328, allocations: 31.91 kB / 1.456 GB, free: 6.75 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002782/1.33, allocations: 1.972 MB / 1.458 GB, free: 4.785 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/1.33, allocations: 0 / 1.458 GB, free: 4.785 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002893/1.333, allocations: 1.255 MB / 1.459 GB, free: 3.527 MB / 1.154 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.001055/1.334, allocations: 0.4962 MB / 1.459 GB, free: 3.031 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005197/1.34, allocations: 2.692 MB / 1.462 GB, free: 356 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.34, allocations: 4.062 kB / 1.462 GB, free: 352 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/1.341, allocations: 479.1 kB / 1.463 GB, free: 15.88 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007154/1.348, allocations: 1.44 MB / 1.464 GB, free: 14.48 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008948/1.357, allocations: 4.691 MB / 1.469 GB, free: 9.746 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/1.359, allocations: 1.935 MB / 1.47 GB, free: 7.777 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002916/1.362, allocations: 0.7245 MB / 1.471 GB, free: 7.047 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000681/1.362, allocations: 207.4 kB / 1.471 GB, free: 6.848 MB / 1.17 GB Notification: Performance of SimCode: time 1.122e-06/1.362, allocations: 0 / 1.471 GB, free: 6.848 MB / 1.17 GB Notification: Performance of Templates: time 0.07813/1.441, allocations: 50.84 MB / 1.521 GB, free: 4.719 MB / 1.217 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 -s gbode -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