Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.000913/0.000913, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006133/0.006133, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 462.7 MB / 0.7364 GB, free: 360 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 11.55 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3868, allocations: 159.6 MB / 1.059 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.036/1.423, allocations: 318.6 MB / 1.37 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03376/1.457, allocations: 22.27 MB / 1.392 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005726/1.462, allocations: 83.78 kB / 1.392 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0154/1.478, allocations: 7.446 MB / 1.399 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.016/1.494, allocations: 3.987 MB / 1.403 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008659/1.503, allocations: 2.195 MB / 1.405 GB, free: 11.83 MB / 1.014 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02347/1.526, allocations: 14.38 MB / 1.419 GB, free: 5.238 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004965/1.531, allocations: 1.861 MB / 1.421 GB, free: 4.125 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008769/1.54, allocations: 2.751 MB / 1.423 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005379/1.545, allocations: 1.855 MB / 1.425 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00113/1.547, allocations: 95.06 kB / 1.425 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/1.558, allocations: 4.25 MB / 1.43 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002442/1.56, allocations: 1.019 MB / 1.431 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00473/1.565, allocations: 1.55 MB / 1.432 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.015/1.58, allocations: 5.772 MB / 1.438 GB, free: 6.375 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.58, allocations: 0 / 1.438 GB, free: 6.375 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.866e-06/1.58, allocations: 4 kB / 1.438 GB, free: 6.371 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002182/1.58, allocations: 0 / 1.438 GB, free: 6.371 MB / 1.029 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.008672/1.589, allocations: 3.228 MB / 1.441 GB, free: 3.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.589, allocations: 12.03 kB / 1.441 GB, free: 3.078 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00764/1.597, allocations: 1.135 MB / 1.442 GB, free: 1.941 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007829/1.605, allocations: 3.886 MB / 1.446 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005053/1.605, allocations: 186.7 kB / 1.446 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005184/1.606, allocations: 148 kB / 1.446 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004615/1.61, allocations: 1.754 MB / 1.448 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/1.61, allocations: 0 / 1.448 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/1.61, allocations: 56 kB / 1.448 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-05/1.611, allocations: 50.62 kB / 1.448 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004212/1.615, allocations: 1.536 MB / 1.449 GB, free: 10.27 MB / 1.045 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.01284/1.628, allocations: 8.529 MB / 1.458 GB, free: 1.199 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/1.63, allocations: 1.106 MB / 1.459 GB, free: 44 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/1.631, allocations: 0.553 MB / 1.459 GB, free: 15.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/1.632, allocations: 111.5 kB / 1.459 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.632, allocations: 43.22 kB / 1.459 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001246/1.633, allocations: 230.6 kB / 1.46 GB, free: 15.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=74): time 2.855e-06/1.633, allocations: 3.938 kB / 1.46 GB, free: 15.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=74): time 0.004253/1.637, allocations: 1.576 MB / 1.461 GB, free: 13.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.637, allocations: 60.06 kB / 1.461 GB, free: 13.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004058/1.641, allocations: 2.936 MB / 1.464 GB, free: 10.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002199/1.642, allocations: 49.7 kB / 1.464 GB, free: 10.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/1.643, allocations: 1.261 MB / 1.465 GB, free: 9.176 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/1.643, allocations: 271.7 kB / 1.466 GB, free: 8.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/1.643, allocations: 217.6 kB / 1.466 GB, free: 8.691 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/1.643, allocations: 309 kB / 1.466 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/1.645, allocations: 0.8394 MB / 1.467 GB, free: 7.543 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/1.647, allocations: 1.358 MB / 1.468 GB, free: 5.977 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/1.651, allocations: 1.982 MB / 1.47 GB, free: 3.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.651, allocations: 4 kB / 1.47 GB, free: 3.836 MB / 1.061 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005178/1.656, allocations: 2.49 MB / 1.473 GB, free: 1.344 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003581/1.656, allocations: 432.7 kB / 1.473 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.656, allocations: 12 kB / 1.473 GB, free: 0.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/1.656, allocations: 23.98 kB / 1.473 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.658, allocations: 407.3 kB / 1.474 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004047/1.658, allocations: 0.6055 MB / 1.474 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/1.661, allocations: 211.9 kB / 1.474 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/1.661, allocations: 67.98 kB / 1.474 GB, free: 15.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.661, allocations: 8 kB / 1.474 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004248/1.666, allocations: 2.163 MB / 1.477 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.666, allocations: 8 kB / 1.477 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/1.666, allocations: 20 kB / 1.477 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.667, allocations: 371.8 kB / 1.477 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.314e-05/1.667, allocations: 39.8 kB / 1.477 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/1.67, allocations: 210.9 kB / 1.477 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/1.67, allocations: 67.98 kB / 1.477 GB, free: 12.55 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (192): * Single equations (assignments): 187 * 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.001522/1.671, allocations: 0.8128 MB / 1.478 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/1.672, allocations: 268.5 kB / 1.478 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/1.675, allocations: 1.197 MB / 1.479 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/1.675, allocations: 11.94 kB / 1.479 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.675, allocations: 0 / 1.479 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002535/1.678, allocations: 1.004 MB / 1.48 GB, free: 9.211 MB / 1.076 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 postOpt removeSimpleEquations (simulation): time 0.008355/1.686, allocations: 3.561 MB / 1.484 GB, free: 5.531 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.686, allocations: 3.938 kB / 1.484 GB, free: 5.527 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.687, allocations: 231.9 kB / 1.484 GB, free: 5.301 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.687, allocations: 4 kB / 1.484 GB, free: 5.297 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.89e-05/1.687, allocations: 23.98 kB / 1.484 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004515/1.688, allocations: 0.5899 MB / 1.485 GB, free: 4.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.688, allocations: 8.031 kB / 1.485 GB, free: 4.652 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/1.692, allocations: 1.829 MB / 1.487 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.694, allocations: 469.5 kB / 1.487 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/1.694, allocations: 15.98 kB / 1.487 GB, free: 2.289 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/1.696, allocations: 163.6 kB / 1.487 GB, free: 2.129 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.696, allocations: 56.42 kB / 1.487 GB, free: 2.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/1.696, allocations: 27.98 kB / 1.487 GB, free: 2.043 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003463/1.699, allocations: 1.964 MB / 1.489 GB, free: 88 kB / 1.076 GB Notification: Performance of sort global known variables: time 4.51e-07/1.699, allocations: 0 / 1.489 GB, free: 88 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.003876/1.703, allocations: 1.27 MB / 1.49 GB, free: 14.82 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 75 * 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.00128/1.705, allocations: 0.4996 MB / 1.491 GB, free: 14.34 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006278/1.711, allocations: 2.796 MB / 1.494 GB, free: 11.55 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.711, allocations: 1.875 kB / 1.494 GB, free: 11.55 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/1.712, allocations: 0.5109 MB / 1.494 GB, free: 11.04 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007568/1.72, allocations: 1.359 MB / 1.495 GB, free: 9.695 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009946/1.73, allocations: 5.763 MB / 1.501 GB, free: 3.887 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/1.732, allocations: 1.935 MB / 1.503 GB, free: 1.922 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003379/1.735, allocations: 0.7363 MB / 1.504 GB, free: 1.18 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007292/1.736, allocations: 215.3 kB / 1.504 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of SimCode: time 9.72e-07/1.736, allocations: 0 / 1.504 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of Templates: time 0.09028/1.826, allocations: 51.65 MB / 1.554 GB, free: 13.89 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches