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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00116/0.00116, allocations: 90.05 kB / 16.02 MB, free: 80 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.0018/0.0018, allocations: 177.3 kB / 16.92 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.804/2.804, allocations: 462.6 MB / 0.737 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003764, allocations: 9.844 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3387, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.143/1.481, allocations: 318.6 MB / 1.37 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03018/1.512, allocations: 22.27 MB / 1.392 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005114/1.517, allocations: 81.06 kB / 1.392 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01415/1.531, allocations: 7.446 MB / 1.4 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/1.543, allocations: 4 MB / 1.403 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006369/1.55, allocations: 2.196 MB / 1.406 GB, free: 11.67 MB / 1.014 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.01945/1.569, allocations: 14.38 MB / 1.42 GB, free: 5.055 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003766/1.573, allocations: 1.863 MB / 1.421 GB, free: 3.941 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007397/1.58, allocations: 2.755 MB / 1.424 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/1.585, allocations: 1.856 MB / 1.426 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006385/1.586, allocations: 93.69 kB / 1.426 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00949/1.595, allocations: 4.256 MB / 1.43 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00181/1.597, allocations: 1.006 MB / 1.431 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002758/1.6, allocations: 1.547 MB / 1.433 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007289/1.607, allocations: 4.335 MB / 1.437 GB, free: 7.438 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.607, allocations: 0 / 1.437 GB, free: 7.438 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.826e-06/1.607, allocations: 0 / 1.437 GB, free: 7.438 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001213/1.607, allocations: 0 / 1.437 GB, free: 7.438 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.006947/1.614, allocations: 3.224 MB / 1.44 GB, free: 4.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.614, allocations: 12.03 kB / 1.44 GB, free: 4.148 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007439/1.622, allocations: 1.139 MB / 1.441 GB, free: 3.008 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006945/1.629, allocations: 3.883 MB / 1.445 GB, free: 15.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004648/1.629, allocations: 186.7 kB / 1.445 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/1.63, allocations: 148 kB / 1.445 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/1.633, allocations: 1.75 MB / 1.447 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.633, allocations: 7.938 kB / 1.447 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/1.633, allocations: 63.98 kB / 1.447 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/1.634, allocations: 46.62 kB / 1.447 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/1.637, allocations: 1.529 MB / 1.449 GB, free: 11.34 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.01344/1.651, allocations: 8.536 MB / 1.457 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/1.653, allocations: 1.101 MB / 1.458 GB, free: 1.117 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/1.655, allocations: 0.5519 MB / 1.459 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/1.655, allocations: 112.5 kB / 1.459 GB, free: 448 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.655, allocations: 43.16 kB / 1.459 GB, free: 396 kB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001313/1.656, allocations: 226.6 kB / 1.459 GB, free: 168 kB / 1.045 GB Notification: Performance of pre-optimization done (n=74): time 3.717e-06/1.656, allocations: 0 / 1.459 GB, free: 168 kB / 1.045 GB Notification: Performance of matching and sorting (n=74): time 0.004351/1.661, allocations: 1.572 MB / 1.46 GB, free: 14.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/1.661, allocations: 60.06 kB / 1.461 GB, free: 14.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/1.665, allocations: 2.944 MB / 1.463 GB, free: 11.56 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/1.665, allocations: 48.44 kB / 1.463 GB, free: 11.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.666, allocations: 1.258 MB / 1.465 GB, free: 10.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/1.666, allocations: 266.2 kB / 1.465 GB, free: 9.996 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/1.667, allocations: 221.6 kB / 1.465 GB, free: 9.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/1.667, allocations: 305.1 kB / 1.465 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/1.668, allocations: 0.8511 MB / 1.466 GB, free: 8.617 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/1.671, allocations: 1.35 MB / 1.468 GB, free: 7.059 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/1.674, allocations: 1.982 MB / 1.47 GB, free: 4.922 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.674, allocations: 7.938 kB / 1.47 GB, free: 4.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004813/1.679, allocations: 2.483 MB / 1.472 GB, free: 2.422 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003178/1.679, allocations: 440.7 kB / 1.472 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/1.679, allocations: 8 kB / 1.472 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/1.679, allocations: 20 kB / 1.472 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.681, allocations: 414.8 kB / 1.473 GB, free: 1.406 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004168/1.681, allocations: 0.6094 MB / 1.473 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/1.684, allocations: 219.1 kB / 1.474 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/1.684, allocations: 71.98 kB / 1.474 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.684, allocations: 5.719 kB / 1.474 GB, free: 500 kB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003872/1.688, allocations: 2.155 MB / 1.476 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/1.688, allocations: 12 kB / 1.476 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.688, allocations: 16.34 kB / 1.476 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.689, allocations: 383.4 kB / 1.476 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/1.689, allocations: 35.84 kB / 1.476 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/1.692, allocations: 203.1 kB / 1.476 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.692, allocations: 71.92 kB / 1.476 GB, free: 13.62 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.001518/1.693, allocations: 0.8129 MB / 1.477 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/1.694, allocations: 264.5 kB / 1.478 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/1.697, allocations: 1.205 MB / 1.479 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.697, allocations: 11.94 kB / 1.479 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.697, allocations: 3.938 kB / 1.479 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00236/1.7, allocations: 0.992 MB / 1.48 GB, free: 10.29 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.007862/1.707, allocations: 3.563 MB / 1.483 GB, free: 6.605 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.707, allocations: 0 / 1.483 GB, free: 6.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.709, allocations: 227.9 kB / 1.483 GB, free: 6.383 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.709, allocations: 4 kB / 1.483 GB, free: 6.379 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/1.709, allocations: 23.98 kB / 1.483 GB, free: 6.355 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003115/1.709, allocations: 0.5898 MB / 1.484 GB, free: 5.742 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.709, allocations: 8.125 kB / 1.484 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/1.714, allocations: 1.829 MB / 1.486 GB, free: 3.867 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.715, allocations: 473.3 kB / 1.486 GB, free: 3.383 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/1.715, allocations: 16 kB / 1.486 GB, free: 3.367 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.717, allocations: 167.6 kB / 1.486 GB, free: 3.203 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.717, allocations: 52.5 kB / 1.486 GB, free: 3.148 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/1.717, allocations: 35.97 kB / 1.486 GB, free: 3.113 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003119/1.72, allocations: 1.96 MB / 1.488 GB, free: 1.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.1e-07/1.72, allocations: 4 kB / 1.488 GB, free: 1.156 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003667/1.724, allocations: 1.271 MB / 1.49 GB, free: 15.88 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.001214/1.725, allocations: 0.499 MB / 1.49 GB, free: 15.41 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006322/1.732, allocations: 2.789 MB / 1.493 GB, free: 12.62 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.732, allocations: 4.75 kB / 1.493 GB, free: 12.62 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/1.733, allocations: 0.507 MB / 1.493 GB, free: 12.11 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007531/1.741, allocations: 1.367 MB / 1.495 GB, free: 10.77 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009826/1.75, allocations: 5.922 MB / 1.5 GB, free: 4.793 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/1.752, allocations: 1.921 MB / 1.502 GB, free: 2.844 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009697/1.753, allocations: 215.4 kB / 1.503 GB, free: 2.633 MB / 1.092 GB Notification: Performance of SimCode: time 8.01e-07/1.753, allocations: 0 / 1.503 GB, free: 2.633 MB / 1.092 GB Notification: Performance of Templates: time 0.08437/1.838, allocations: 58.06 MB / 1.559 GB, free: 8.855 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,gain.u,floMacSta.dpMachine,floMacDyn.dpMachine,floMacSta.VMachine_flow,floMacDyn.VMachine_flow Variables in the result:floMacDyn.VMachine_flow,floMacDyn.dpMachine,floMacSta.VMachine_flow,floMacSta.dpMachine,gain.u,time