Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0009824/0.0009825, allocations: 97.64 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.006958/0.006958, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.992/2.992, allocations: 470.6 MB / 0.7441 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.000432, allocations: 7.938 kB / 0.9123 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3716, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.03/1.402, allocations: 318.6 MB / 1.381 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03589/1.437, allocations: 22.26 MB / 1.403 GB, free: 9.781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005166/1.443, allocations: 85.75 kB / 1.403 GB, free: 9.781 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01624/1.459, allocations: 7.455 MB / 1.41 GB, free: 7.203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0136/1.473, allocations: 3.992 MB / 1.414 GB, free: 4.141 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006981/1.48, allocations: 2.201 MB / 1.416 GB, free: 2.559 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.02174/1.501, allocations: 14.4 MB / 1.43 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004835/1.506, allocations: 1.856 MB / 1.432 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008268/1.515, allocations: 2.759 MB / 1.435 GB, free: 7.793 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005705/1.52, allocations: 1.843 MB / 1.437 GB, free: 5.945 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000977/1.521, allocations: 96 kB / 1.437 GB, free: 5.852 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/1.533, allocations: 4.252 MB / 1.441 GB, free: 1.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002267/1.535, allocations: 1.005 MB / 1.442 GB, free: 0.582 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004092/1.539, allocations: 1.544 MB / 1.443 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/1.552, allocations: 5.778 MB / 1.449 GB, free: 9.227 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.552, allocations: 0 / 1.449 GB, free: 9.227 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.074e-06/1.552, allocations: 8 kB / 1.449 GB, free: 9.219 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001781/1.553, allocations: 0 / 1.449 GB, free: 9.219 MB / 1.045 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.008502/1.561, allocations: 3.219 MB / 1.452 GB, free: 5.922 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/1.561, allocations: 11.98 kB / 1.452 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008168/1.569, allocations: 1.139 MB / 1.453 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008855/1.578, allocations: 3.881 MB / 1.457 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005674/1.579, allocations: 190.6 kB / 1.457 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004769/1.579, allocations: 156 kB / 1.457 GB, free: 492 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/1.584, allocations: 1.743 MB / 1.459 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/1.584, allocations: 4 kB / 1.459 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/1.584, allocations: 56 kB / 1.459 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/1.585, allocations: 46.62 kB / 1.459 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/1.589, allocations: 1.54 MB / 1.461 GB, free: 13.02 MB / 1.061 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.01573/1.605, allocations: 8.531 MB / 1.469 GB, free: 3.879 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/1.608, allocations: 1.113 MB / 1.47 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/1.609, allocations: 0.5452 MB / 1.471 GB, free: 2.176 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/1.61, allocations: 113.7 kB / 1.471 GB, free: 2.047 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/1.61, allocations: 43.22 kB / 1.471 GB, free: 1.996 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00153/1.611, allocations: 222.6 kB / 1.471 GB, free: 1.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=74): time 4.408e-06/1.611, allocations: 0 / 1.471 GB, free: 1.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=74): time 0.005069/1.616, allocations: 1.58 MB / 1.472 GB, free: 192 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/1.616, allocations: 56.06 kB / 1.473 GB, free: 124 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005472/1.622, allocations: 2.94 MB / 1.475 GB, free: 13.17 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001988/1.622, allocations: 49.55 kB / 1.475 GB, free: 13.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/1.623, allocations: 1.26 MB / 1.477 GB, free: 11.85 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/1.624, allocations: 280.2 kB / 1.477 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/1.624, allocations: 217.6 kB / 1.477 GB, free: 11.35 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.624, allocations: 305.1 kB / 1.477 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/1.626, allocations: 0.8394 MB / 1.478 GB, free: 10.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/1.629, allocations: 1.35 MB / 1.48 GB, free: 8.645 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/1.633, allocations: 1.986 MB / 1.482 GB, free: 6.504 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.633, allocations: 4 kB / 1.482 GB, free: 6.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005626/1.639, allocations: 2.479 MB / 1.484 GB, free: 4.008 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004335/1.639, allocations: 444.6 kB / 1.484 GB, free: 3.418 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/1.639, allocations: 8 kB / 1.484 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-05/1.639, allocations: 23.98 kB / 1.484 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/1.641, allocations: 395.5 kB / 1.485 GB, free: 3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004917/1.641, allocations: 0.6172 MB / 1.485 GB, free: 2.359 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.644, allocations: 215.1 kB / 1.486 GB, free: 2.148 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/1.644, allocations: 67.98 kB / 1.486 GB, free: 2.082 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/1.644, allocations: 8 kB / 1.486 GB, free: 2.074 MB / 1.076 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004356/1.649, allocations: 2.159 MB / 1.488 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/1.649, allocations: 12 kB / 1.488 GB, free: 15.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/1.649, allocations: 19.98 kB / 1.488 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.65, allocations: 379.8 kB / 1.488 GB, free: 15.51 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.102e-05/1.65, allocations: 27.92 kB / 1.488 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/1.652, allocations: 203.2 kB / 1.488 GB, free: 15.29 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/1.653, allocations: 79.89 kB / 1.488 GB, free: 15.21 MB / 1.092 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.001512/1.654, allocations: 0.8113 MB / 1.489 GB, free: 14.39 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005962/1.655, allocations: 272.5 kB / 1.489 GB, free: 14.12 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/1.658, allocations: 1.205 MB / 1.491 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.658, allocations: 8 kB / 1.491 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.658, allocations: 0 / 1.491 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002648/1.661, allocations: 0.9959 MB / 1.492 GB, free: 11.87 MB / 1.092 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.008321/1.669, allocations: 3.562 MB / 1.495 GB, free: 8.172 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.669, allocations: 0 / 1.495 GB, free: 8.172 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.67, allocations: 231.9 kB / 1.495 GB, free: 7.945 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/1.67, allocations: 11.88 kB / 1.495 GB, free: 7.934 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/1.671, allocations: 19.98 kB / 1.495 GB, free: 7.914 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003807/1.671, allocations: 0.586 MB / 1.496 GB, free: 7.305 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.671, allocations: 4.031 kB / 1.496 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/1.676, allocations: 1.845 MB / 1.498 GB, free: 5.414 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.677, allocations: 461.5 kB / 1.498 GB, free: 4.941 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005022/1.677, allocations: 16 kB / 1.498 GB, free: 4.926 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/1.679, allocations: 159.7 kB / 1.498 GB, free: 4.77 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.679, allocations: 52.44 kB / 1.498 GB, free: 4.719 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-05/1.679, allocations: 35.97 kB / 1.498 GB, free: 4.684 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003644/1.683, allocations: 1.964 MB / 1.5 GB, free: 2.727 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.2e-07/1.683, allocations: 0 / 1.5 GB, free: 2.727 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003697/1.687, allocations: 1.271 MB / 1.502 GB, free: 1.453 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.001282/1.688, allocations: 498.2 kB / 1.502 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00652/1.695, allocations: 2.804 MB / 1.505 GB, free: 14.17 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.695, allocations: 1.938 kB / 1.505 GB, free: 14.17 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/1.696, allocations: 0.5187 MB / 1.505 GB, free: 13.65 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007451/1.704, allocations: 1.355 MB / 1.507 GB, free: 12.32 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.714, allocations: 5.764 MB / 1.512 GB, free: 6.504 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/1.716, allocations: 1.935 MB / 1.514 GB, free: 4.535 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003514/1.72, allocations: 0.7324 MB / 1.515 GB, free: 3.797 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008295/1.72, allocations: 215.3 kB / 1.515 GB, free: 3.586 MB / 1.107 GB Notification: Performance of SimCode: time 1.002e-06/1.72, allocations: 0 / 1.515 GB, free: 3.586 MB / 1.107 GB Notification: Performance of Templates: time 0.09493/1.815, allocations: 51.61 MB / 1.565 GB, free: 0.5859 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_11_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches