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.001821/0.001821, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.002059/0.002059, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 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.473/2.473, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 65.06 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3532, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.004/1.357, allocations: 325.1 MB / 1.336 GB, free: 3.379 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03277/1.39, allocations: 22.27 MB / 1.358 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003656/1.393, allocations: 99.5 kB / 1.358 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01401/1.407, allocations: 7.698 MB / 1.366 GB, free: 5.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01324/1.421, allocations: 4.256 MB / 1.37 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.007615/1.428, allocations: 2.438 MB / 1.372 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02323/1.452, allocations: 11.96 MB / 1.384 GB, free: 2.566 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004078/1.456, allocations: 2.197 MB / 1.386 GB, free: 328 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008637/1.464, allocations: 3.145 MB / 1.389 GB, free: 13.16 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004758/1.469, allocations: 1.837 MB / 1.391 GB, free: 11.33 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001168/1.47, allocations: 228 kB / 1.391 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009618/1.48, allocations: 3.851 MB / 1.395 GB, free: 7.246 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002093/1.482, allocations: 1.137 MB / 1.396 GB, free: 6.105 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004823/1.487, allocations: 1.695 MB / 1.398 GB, free: 4.402 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/1.5, allocations: 5.764 MB / 1.403 GB, free: 14.62 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.5, allocations: 0 / 1.403 GB, free: 14.62 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.065e-06/1.5, allocations: 3.938 kB / 1.403 GB, free: 14.62 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001965/1.501, allocations: 8 kB / 1.403 GB, free: 14.61 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.01192/1.512, allocations: 3.765 MB / 1.407 GB, free: 10.77 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.513, allocations: 12.62 kB / 1.407 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00719/1.52, allocations: 1.096 MB / 1.408 GB, free: 9.652 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007411/1.527, allocations: 3.943 MB / 1.412 GB, free: 5.645 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/1.527, allocations: 118.7 kB / 1.412 GB, free: 5.527 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/1.528, allocations: 155.9 kB / 1.412 GB, free: 5.375 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/1.531, allocations: 1.713 MB / 1.414 GB, free: 3.59 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/1.531, allocations: 0 / 1.414 GB, free: 3.59 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/1.531, allocations: 56 kB / 1.414 GB, free: 3.535 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/1.532, allocations: 58.58 kB / 1.414 GB, free: 3.477 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/1.535, allocations: 1.439 MB / 1.415 GB, free: 2.031 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.01439/1.55, allocations: 8.641 MB / 1.424 GB, free: 8.773 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/1.552, allocations: 1.015 MB / 1.425 GB, free: 7.711 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/1.553, allocations: 0.5022 MB / 1.425 GB, free: 7.207 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/1.553, allocations: 105.6 kB / 1.425 GB, free: 7.086 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/1.553, allocations: 47.44 kB / 1.425 GB, free: 7.031 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/1.553, allocations: 0 / 1.425 GB, free: 7.031 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.004188/1.558, allocations: 1.464 MB / 1.427 GB, free: 5.562 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/1.558, allocations: 59.97 kB / 1.427 GB, free: 5.492 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/1.562, allocations: 2.948 MB / 1.43 GB, free: 2.539 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/1.562, allocations: 45.7 kB / 1.43 GB, free: 2.488 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/1.563, allocations: 1.276 MB / 1.431 GB, free: 1.199 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/1.563, allocations: 256.4 kB / 1.431 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005924/1.564, allocations: 431 kB / 1.432 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/1.564, allocations: 309.1 kB / 1.432 GB, free: 216 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/1.566, allocations: 0.8091 MB / 1.433 GB, free: 15.39 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/1.568, allocations: 1.326 MB / 1.434 GB, free: 13.87 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003392/1.571, allocations: 1.899 MB / 1.436 GB, free: 11.82 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/1.571, allocations: 4 kB / 1.436 GB, free: 11.82 MB / 1.139 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004974/1.576, allocations: 2.396 MB / 1.438 GB, free: 9.41 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/1.576, allocations: 11.98 kB / 1.438 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/1.576, allocations: 15.94 kB / 1.438 GB, free: 9.383 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.051e-05/1.576, allocations: 23.94 kB / 1.438 GB, free: 9.359 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/1.578, allocations: 379.9 kB / 1.439 GB, free: 8.988 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004448/1.578, allocations: 0.6133 MB / 1.439 GB, free: 8.352 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/1.581, allocations: 231 kB / 1.439 GB, free: 8.125 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.581, allocations: 75.91 kB / 1.44 GB, free: 8.051 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002663/1.584, allocations: 1.433 MB / 1.441 GB, free: 6.613 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001897/1.585, allocations: 1.29 MB / 1.442 GB, free: 5.125 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003038/1.588, allocations: 1.861 MB / 1.444 GB, free: 3.117 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.316e-06/1.588, allocations: 4 kB / 1.444 GB, free: 3.113 MB / 1.139 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004529/1.593, allocations: 2.357 MB / 1.446 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.593, allocations: 8 kB / 1.446 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.593, allocations: 12 kB / 1.446 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.593, allocations: 20 kB / 1.446 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.594, allocations: 363.8 kB / 1.447 GB, free: 356 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/1.595, allocations: 23.94 kB / 1.447 GB, free: 332 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/1.597, allocations: 187.4 kB / 1.447 GB, free: 144 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.597, allocations: 67.98 kB / 1.447 GB, free: 76 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.0004135/1.597, allocations: 274 kB / 1.447 GB, free: 15.8 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/1.598, allocations: 272.4 kB / 1.447 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/1.601, allocations: 1.126 MB / 1.449 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.601, allocations: 4 kB / 1.449 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.601, allocations: 4 kB / 1.449 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002238/1.603, allocations: 0.9178 MB / 1.449 GB, free: 13.44 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006725/1.61, allocations: 3.333 MB / 1.453 GB, free: 9.988 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.61, allocations: 0 / 1.453 GB, free: 9.988 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.611, allocations: 211.8 kB / 1.453 GB, free: 9.781 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/1.611, allocations: 7.938 kB / 1.453 GB, free: 9.773 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/1.611, allocations: 19.98 kB / 1.453 GB, free: 9.754 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004397/1.611, allocations: 0.5899 MB / 1.454 GB, free: 9.141 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.611, allocations: 0 / 1.454 GB, free: 9.141 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004058/1.615, allocations: 1.719 MB / 1.455 GB, free: 7.391 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.617, allocations: 469.4 kB / 1.456 GB, free: 6.91 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/1.617, allocations: 16 kB / 1.456 GB, free: 6.895 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.618, allocations: 83.83 kB / 1.456 GB, free: 6.812 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.618, allocations: 44.5 kB / 1.456 GB, free: 6.77 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/1.619, allocations: 31.92 kB / 1.456 GB, free: 6.738 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003327/1.622, allocations: 1.972 MB / 1.458 GB, free: 4.773 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.81e-07/1.622, allocations: 0 / 1.458 GB, free: 4.773 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003342/1.625, allocations: 1.251 MB / 1.459 GB, free: 3.52 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.001198/1.626, allocations: 0.4933 MB / 1.459 GB, free: 3.02 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00552/1.632, allocations: 2.692 MB / 1.462 GB, free: 344 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.632, allocations: 0 / 1.462 GB, free: 344 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/1.633, allocations: 479.4 kB / 1.463 GB, free: 15.87 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005739/1.639, allocations: 1.447 MB / 1.464 GB, free: 14.47 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/1.647, allocations: 4.69 MB / 1.469 GB, free: 9.738 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.649, allocations: 1.927 MB / 1.47 GB, free: 7.777 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002706/1.651, allocations: 0.7166 MB / 1.471 GB, free: 7.055 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/1.652, allocations: 215.3 kB / 1.471 GB, free: 6.848 MB / 1.17 GB Notification: Performance of SimCode: time 6.91e-07/1.652, allocations: 0 / 1.471 GB, free: 6.848 MB / 1.17 GB Notification: Performance of Templates: time 0.083/1.735, allocations: 50.83 MB / 1.521 GB, free: 4.723 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 cvode -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