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.00111/0.00111, allocations: 92.39 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.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.597/2.597, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 12 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7391/0.7395, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9881/1.728, allocations: 318.6 MB / 1.335 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03101/1.759, allocations: 22.26 MB / 1.357 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005243/1.764, allocations: 82.97 kB / 1.357 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0144/1.778, allocations: 7.437 MB / 1.364 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01315/1.792, allocations: 3.992 MB / 1.368 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006593/1.798, allocations: 2.207 MB / 1.37 GB, free: 14.81 MB / 0.9981 GB [/var/lib/jenkins1/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.02029/1.819, allocations: 14.36 MB / 1.384 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004214/1.823, allocations: 1.869 MB / 1.386 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008205/1.831, allocations: 2.751 MB / 1.388 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00486/1.836, allocations: 1.845 MB / 1.39 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005124/1.836, allocations: 95.28 kB / 1.39 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009008/1.846, allocations: 4.259 MB / 1.395 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001834/1.847, allocations: 1.013 MB / 1.396 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003045/1.85, allocations: 1.541 MB / 1.397 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00768/1.858, allocations: 4.329 MB / 1.401 GB, free: 15.6 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.858, allocations: 0 / 1.401 GB, free: 15.6 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.305e-06/1.858, allocations: 0 / 1.401 GB, free: 15.6 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001145/1.858, allocations: 0 / 1.401 GB, free: 15.6 MB / 1.014 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.007036/1.865, allocations: 3.23 MB / 1.404 GB, free: 12.33 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.865, allocations: 8.031 kB / 1.404 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/1.873, allocations: 1.135 MB / 1.406 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007826/1.881, allocations: 3.891 MB / 1.409 GB, free: 7.332 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/1.881, allocations: 186.5 kB / 1.41 GB, free: 7.152 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/1.882, allocations: 156 kB / 1.41 GB, free: 7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/1.886, allocations: 1.744 MB / 1.411 GB, free: 5.199 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/1.886, allocations: 6.625 kB / 1.411 GB, free: 5.195 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/1.886, allocations: 52 kB / 1.411 GB, free: 5.145 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/1.886, allocations: 50.62 kB / 1.411 GB, free: 5.094 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/1.89, allocations: 1.539 MB / 1.413 GB, free: 3.559 MB / 1.014 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.01353/1.903, allocations: 8.535 MB / 1.421 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/1.906, allocations: 1.118 MB / 1.422 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/1.907, allocations: 0.5486 MB / 1.423 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/1.908, allocations: 109.6 kB / 1.423 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.908, allocations: 43.22 kB / 1.423 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001364/1.909, allocations: 222.6 kB / 1.423 GB, free: 8.457 MB / 1.029 GB Notification: Performance of pre-optimization done (n=74): time 3.517e-06/1.909, allocations: 0 / 1.423 GB, free: 8.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=74): time 0.004618/1.914, allocations: 1.575 MB / 1.425 GB, free: 6.879 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/1.914, allocations: 60.06 kB / 1.425 GB, free: 6.805 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004524/1.918, allocations: 2.944 MB / 1.428 GB, free: 3.855 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/1.919, allocations: 45.7 kB / 1.428 GB, free: 3.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/1.92, allocations: 1.259 MB / 1.429 GB, free: 2.547 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/1.92, allocations: 279.2 kB / 1.429 GB, free: 2.277 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/1.92, allocations: 213.6 kB / 1.43 GB, free: 2.062 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.92, allocations: 305.1 kB / 1.43 GB, free: 1.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/1.922, allocations: 0.8433 MB / 1.431 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/1.925, allocations: 1.356 MB / 1.432 GB, free: 15.36 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/1.928, allocations: 1.982 MB / 1.434 GB, free: 13.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.928, allocations: 8 kB / 1.434 GB, free: 13.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005081/1.933, allocations: 2.478 MB / 1.436 GB, free: 10.82 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003575/1.934, allocations: 439.1 kB / 1.437 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/1.934, allocations: 12 kB / 1.437 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.934, allocations: 23.94 kB / 1.437 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.935, allocations: 409.9 kB / 1.437 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004235/1.936, allocations: 0.6093 MB / 1.438 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.938, allocations: 215.2 kB / 1.438 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/1.938, allocations: 71.98 kB / 1.438 GB, free: 8.891 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.939, allocations: 4 kB / 1.438 GB, free: 8.887 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003925/1.942, allocations: 2.152 MB / 1.44 GB, free: 6.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.942, allocations: 16.28 kB / 1.44 GB, free: 6.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.943, allocations: 24 kB / 1.44 GB, free: 6.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.944, allocations: 379.4 kB / 1.441 GB, free: 6.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/1.944, allocations: 23.92 kB / 1.441 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.946, allocations: 207.1 kB / 1.441 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/1.946, allocations: 75.98 kB / 1.441 GB, free: 6.02 MB / 1.045 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.001719/1.948, allocations: 0.8104 MB / 1.442 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007392/1.949, allocations: 268.5 kB / 1.442 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003609/1.953, allocations: 1.205 MB / 1.443 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/1.953, allocations: 4 kB / 1.443 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.953, allocations: 4 kB / 1.443 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002546/1.955, allocations: 0.9996 MB / 1.444 GB, free: 2.684 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 postOpt removeSimpleEquations (simulation): time 0.009066/1.964, allocations: 3.559 MB / 1.448 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.964, allocations: 4.188 kB / 1.448 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.965, allocations: 231.7 kB / 1.448 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/1.965, allocations: 4 kB / 1.448 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.565e-05/1.966, allocations: 19.98 kB / 1.448 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003748/1.966, allocations: 0.5938 MB / 1.448 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.966, allocations: 7.922 kB / 1.448 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/1.971, allocations: 1.829 MB / 1.45 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.972, allocations: 457.5 kB / 1.451 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007714/1.973, allocations: 19.98 kB / 1.451 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.975, allocations: 167.8 kB / 1.451 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.975, allocations: 48.42 kB / 1.451 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.913e-05/1.975, allocations: 35.97 kB / 1.451 GB, free: 11.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004286/1.98, allocations: 1.96 MB / 1.453 GB, free: 9.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-07/1.98, allocations: 0 / 1.453 GB, free: 9.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004841/1.984, allocations: 1.275 MB / 1.454 GB, free: 8.297 MB / 1.061 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.001463/1.986, allocations: 0.512 MB / 1.454 GB, free: 7.805 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006565/1.992, allocations: 2.803 MB / 1.457 GB, free: 5.004 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.992, allocations: 4.25 kB / 1.457 GB, free: 5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.994, allocations: 0.5031 MB / 1.458 GB, free: 4.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008151/2.002, allocations: 1.354 MB / 1.459 GB, free: 3.164 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/2.014, allocations: 5.919 MB / 1.465 GB, free: 13.19 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/2.017, allocations: 1.917 MB / 1.467 GB, free: 11.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/2.018, allocations: 219.3 kB / 1.467 GB, free: 11.02 MB / 1.076 GB Notification: Performance of SimCode: time 1.513e-06/2.018, allocations: 0 / 1.467 GB, free: 11.02 MB / 1.076 GB Notification: Performance of Templates: time 0.08971/2.107, allocations: 58.05 MB / 1.524 GB, free: 1.262 MB / 1.123 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