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.009212/0.009212, allocations: 99.38 kB / 15.73 MB, free: 6.059 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.001997/0.001997, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.745/2.745, allocations: 469.8 MB / 0.7425 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.311, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9985/1.31, allocations: 325.8 MB / 1.539 GB, free: 15.15 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03317/1.343, allocations: 22.33 MB / 1.561 GB, free: 8.766 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003413/1.346, allocations: 95.5 kB / 1.561 GB, free: 8.672 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.006668/1.353, allocations: 2.415 MB / 1.563 GB, free: 6.246 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/1.365, allocations: 4.691 MB / 1.568 GB, free: 1.539 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.006567/1.371, allocations: 2.567 MB / 1.57 GB, free: 14.99 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.02036/1.392, allocations: 12.2 MB / 1.582 GB, free: 2.77 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004224/1.396, allocations: 1.834 MB / 1.584 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007908/1.404, allocations: 3.324 MB / 1.587 GB, free: 13.55 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003917/1.408, allocations: 1.876 MB / 1.589 GB, free: 11.68 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0008874/1.408, allocations: 236 kB / 1.589 GB, free: 11.45 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007864/1.416, allocations: 3.882 MB / 1.593 GB, free: 7.559 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001728/1.418, allocations: 1.18 MB / 1.594 GB, free: 6.375 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003393/1.421, allocations: 1.706 MB / 1.596 GB, free: 4.66 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/1.433, allocations: 5.87 MB / 1.602 GB, free: 14.77 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.433, allocations: 4 kB / 1.602 GB, free: 14.77 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.663e-06/1.433, allocations: 4 kB / 1.602 GB, free: 14.76 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001481/1.433, allocations: 0 / 1.602 GB, free: 14.76 MB / 1.295 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.01105/1.444, allocations: 3.922 MB / 1.605 GB, free: 10.75 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.444, allocations: 12.03 kB / 1.605 GB, free: 10.74 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007808/1.452, allocations: 1.118 MB / 1.606 GB, free: 9.621 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008765/1.461, allocations: 4.051 MB / 1.61 GB, free: 5.508 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/1.461, allocations: 122.7 kB / 1.611 GB, free: 5.387 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000507/1.461, allocations: 144 kB / 1.611 GB, free: 5.246 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00463/1.466, allocations: 1.712 MB / 1.612 GB, free: 3.461 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/1.466, allocations: 11.88 kB / 1.612 GB, free: 3.449 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/1.466, allocations: 60 kB / 1.612 GB, free: 3.391 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/1.466, allocations: 46.59 kB / 1.612 GB, free: 3.344 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/1.47, allocations: 1.447 MB / 1.614 GB, free: 1.891 MB / 1.295 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.01454/1.485, allocations: 8.681 MB / 1.622 GB, free: 8.598 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/1.487, allocations: 0.9764 MB / 1.623 GB, free: 7.574 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/1.489, allocations: 482 kB / 1.624 GB, free: 7.102 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/1.489, allocations: 113.6 kB / 1.624 GB, free: 6.973 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/1.489, allocations: 43.12 kB / 1.624 GB, free: 6.922 MB / 1.311 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/1.489, allocations: 0 / 1.624 GB, free: 6.922 MB / 1.311 GB Notification: Performance of matching and sorting (n=70): time 0.004626/1.494, allocations: 1.473 MB / 1.625 GB, free: 5.445 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/1.494, allocations: 67.91 kB / 1.625 GB, free: 5.367 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005887/1.499, allocations: 2.984 MB / 1.628 GB, free: 2.379 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/1.5, allocations: 49.7 kB / 1.628 GB, free: 2.324 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/1.501, allocations: 1.289 MB / 1.63 GB, free: 1.023 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/1.502, allocations: 269.7 kB / 1.63 GB, free: 0.7578 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008818/1.502, allocations: 423.3 kB / 1.63 GB, free: 348 kB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.503, allocations: 309.1 kB / 1.631 GB, free: 36 kB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/1.504, allocations: 0.8129 MB / 1.631 GB, free: 15.22 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/1.506, allocations: 1.314 MB / 1.633 GB, free: 13.7 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/1.51, allocations: 1.903 MB / 1.635 GB, free: 11.64 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/1.51, allocations: 4 kB / 1.635 GB, free: 11.64 MB / 1.326 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005142/1.515, allocations: 2.414 MB / 1.637 GB, free: 9.223 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/1.515, allocations: 8 kB / 1.637 GB, free: 9.215 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/1.515, allocations: 15.94 kB / 1.637 GB, free: 9.199 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/1.515, allocations: 20 kB / 1.637 GB, free: 9.18 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.517, allocations: 387.5 kB / 1.637 GB, free: 8.801 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000445/1.517, allocations: 0.6055 MB / 1.638 GB, free: 8.172 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/1.52, allocations: 244.1 kB / 1.638 GB, free: 7.934 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/1.52, allocations: 67.98 kB / 1.638 GB, free: 7.867 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002933/1.523, allocations: 1.442 MB / 1.64 GB, free: 6.422 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001977/1.525, allocations: 1.286 MB / 1.641 GB, free: 4.941 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003116/1.528, allocations: 1.865 MB / 1.643 GB, free: 2.926 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-05/1.528, allocations: 3.938 kB / 1.643 GB, free: 2.922 MB / 1.326 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004749/1.533, allocations: 2.374 MB / 1.645 GB, free: 0.5352 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.533, allocations: 10.19 kB / 1.645 GB, free: 0.5273 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.533, allocations: 12 kB / 1.645 GB, free: 0.5156 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/1.533, allocations: 20 kB / 1.645 GB, free: 0.4961 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/1.534, allocations: 355.7 kB / 1.645 GB, free: 152 kB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/1.534, allocations: 27.92 kB / 1.645 GB, free: 124 kB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/1.536, allocations: 188.3 kB / 1.646 GB, free: 15.93 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/1.537, allocations: 71.92 kB / 1.646 GB, free: 15.86 MB / 1.342 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.0004073/1.537, allocations: 273.8 kB / 1.646 GB, free: 15.59 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007803/1.538, allocations: 286.1 kB / 1.646 GB, free: 15.31 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/1.541, allocations: 1.13 MB / 1.647 GB, free: 14.16 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.541, allocations: 8 kB / 1.647 GB, free: 14.16 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.541, allocations: 0 / 1.647 GB, free: 14.16 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002393/1.543, allocations: 0.9178 MB / 1.648 GB, free: 13.21 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008892/1.552, allocations: 3.348 MB / 1.651 GB, free: 9.746 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.552, allocations: 4 kB / 1.651 GB, free: 9.742 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.554, allocations: 215.7 kB / 1.652 GB, free: 9.531 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/1.554, allocations: 4 kB / 1.652 GB, free: 9.527 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/1.554, allocations: 23.97 kB / 1.652 GB, free: 9.504 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003874/1.554, allocations: 0.5899 MB / 1.652 GB, free: 8.891 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.554, allocations: 3.984 kB / 1.652 GB, free: 8.887 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004497/1.559, allocations: 1.724 MB / 1.654 GB, free: 7.133 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.56, allocations: 486.9 kB / 1.654 GB, free: 6.637 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007642/1.561, allocations: 16 kB / 1.654 GB, free: 6.621 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.562, allocations: 83.91 kB / 1.655 GB, free: 6.539 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.563, allocations: 52.31 kB / 1.655 GB, free: 6.484 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.276e-05/1.563, allocations: 35.98 kB / 1.655 GB, free: 6.449 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.004305/1.567, allocations: 1.988 MB / 1.657 GB, free: 4.469 MB / 1.342 GB Notification: Performance of sort global known variables: time 2.2e-07/1.567, allocations: 0 / 1.657 GB, free: 4.469 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.004871/1.572, allocations: 1.263 MB / 1.658 GB, free: 3.203 MB / 1.342 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.001629/1.573, allocations: 0.4971 MB / 1.658 GB, free: 2.703 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.006106/1.58, allocations: 2.466 MB / 1.661 GB, free: 252 kB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.58, allocations: 0 / 1.661 GB, free: 252 kB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/1.581, allocations: 455.5 kB / 1.661 GB, free: 15.8 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00651/1.587, allocations: 1.45 MB / 1.663 GB, free: 14.39 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009574/1.597, allocations: 4.794 MB / 1.667 GB, free: 9.555 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/1.599, allocations: 1.935 MB / 1.669 GB, free: 7.586 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002995/1.602, allocations: 0.7206 MB / 1.67 GB, free: 6.859 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007658/1.603, allocations: 215.3 kB / 1.67 GB, free: 6.648 MB / 1.357 GB Notification: Performance of SimCode: time 1.183e-06/1.603, allocations: 0 / 1.67 GB, free: 6.648 MB / 1.357 GB Notification: Performance of Templates: time 0.08406/1.687, allocations: 51.49 MB / 1.72 GB, free: 3.824 MB / 1.404 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=480 -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