Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001289/0.001289, allocations: 99.42 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.002012/0.002012, allocations: 180.4 kB / 16.92 MB, free: 6.918 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.495/2.495, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7622, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.038/1.801, allocations: 317.1 MB / 1.265 GB, free: 38.38 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0293/1.83, allocations: 20.17 MB / 1.285 GB, free: 38.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004078/1.834, allocations: 80.69 kB / 1.285 GB, free: 38.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004559/1.839, allocations: 1.302 MB / 1.286 GB, free: 38.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/1.852, allocations: 3.962 MB / 1.29 GB, free: 37.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006832/1.859, allocations: 2.096 MB / 1.292 GB, free: 37.92 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01174/1.871, allocations: 8.016 MB / 1.3 GB, free: 37.89 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00378/1.875, allocations: 1.811 MB / 1.302 GB, free: 37.61 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00828/1.883, allocations: 2.815 MB / 1.305 GB, free: 37.56 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005092/1.888, allocations: 1.731 MB / 1.306 GB, free: 37.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007137/1.889, allocations: 89.44 kB / 1.306 GB, free: 37.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009799/1.899, allocations: 4.034 MB / 1.31 GB, free: 37.51 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001814/1.901, allocations: 0.7473 MB / 1.311 GB, free: 37.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002902/1.903, allocations: 1.193 MB / 1.312 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006704/1.91, allocations: 3.497 MB / 1.316 GB, free: 37.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.91, allocations: 0 / 1.316 GB, free: 37.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.105e-06/1.91, allocations: 0 / 1.316 GB, free: 37.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.784e-05/1.91, allocations: 0 / 1.316 GB, free: 37.21 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005364/1.916, allocations: 2.538 MB / 1.318 GB, free: 35.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.916, allocations: 7.938 kB / 1.318 GB, free: 35.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006823/1.923, allocations: 1.051 MB / 1.319 GB, free: 35.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004202/1.927, allocations: 1.939 MB / 1.321 GB, free: 35.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003783/1.927, allocations: 178.3 kB / 1.321 GB, free: 35.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/1.928, allocations: 147.9 kB / 1.321 GB, free: 35.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003404/1.931, allocations: 1.731 MB / 1.323 GB, free: 34.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/1.931, allocations: 4 kB / 1.323 GB, free: 34.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/1.931, allocations: 54.72 kB / 1.323 GB, free: 34.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/1.931, allocations: 51.91 kB / 1.323 GB, free: 34.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/1.935, allocations: 1.528 MB / 1.325 GB, free: 34.86 MB / 0.9981 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.01117/1.946, allocations: 7.837 MB / 1.332 GB, free: 30.97 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/1.948, allocations: 1.175 MB / 1.333 GB, free: 30.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/1.949, allocations: 0.5778 MB / 1.334 GB, free: 30.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/1.95, allocations: 106.5 kB / 1.334 GB, free: 30.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/1.95, allocations: 43.12 kB / 1.334 GB, free: 30.53 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001167/1.951, allocations: 198.6 kB / 1.334 GB, free: 30.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.527e-06/1.951, allocations: 0 / 1.334 GB, free: 30.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.003954/1.955, allocations: 1.564 MB / 1.336 GB, free: 30.08 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/1.955, allocations: 67.31 kB / 1.336 GB, free: 30.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.957, allocations: 1.79 MB / 1.338 GB, free: 29.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/1.957, allocations: 47.17 kB / 1.338 GB, free: 29.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006369/1.958, allocations: 0.977 MB / 1.339 GB, free: 29.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/1.958, allocations: 268.9 kB / 1.339 GB, free: 28.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.958, allocations: 100.2 kB / 1.339 GB, free: 28.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/1.958, allocations: 346.5 kB / 1.339 GB, free: 28.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/1.96, allocations: 0.5083 MB / 1.34 GB, free: 28.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/1.961, allocations: 0.9036 MB / 1.341 GB, free: 27.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/1.963, allocations: 1.356 MB / 1.342 GB, free: 27.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.963, allocations: 5.906 kB / 1.342 GB, free: 27.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003427/1.967, allocations: 1.562 MB / 1.344 GB, free: 27.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002481/1.967, allocations: 380.6 kB / 1.344 GB, free: 26.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.967, allocations: 13.27 kB / 1.344 GB, free: 26.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/1.967, allocations: 14.81 kB / 1.344 GB, free: 26.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.968, allocations: 307.6 kB / 1.344 GB, free: 26.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000264/1.969, allocations: 0.6108 MB / 1.345 GB, free: 25.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/1.971, allocations: 167.9 kB / 1.345 GB, free: 25.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.971, allocations: 57.84 kB / 1.345 GB, free: 25.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.971, allocations: 2.625 kB / 1.345 GB, free: 25.84 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002418/1.973, allocations: 1.252 MB / 1.346 GB, free: 25.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.973, allocations: 10.03 kB / 1.346 GB, free: 25.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.973, allocations: 14.62 kB / 1.346 GB, free: 25.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.974, allocations: 279 kB / 1.347 GB, free: 25.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/1.974, allocations: 17.81 kB / 1.347 GB, free: 25.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.976, allocations: 169.7 kB / 1.347 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/1.976, allocations: 53.89 kB / 1.347 GB, free: 25.54 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (124): * Single equations (assignments): 121 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.001102/1.977, allocations: 0.5801 MB / 1.347 GB, free: 25.31 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/1.978, allocations: 196.6 kB / 1.348 GB, free: 25.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/1.981, allocations: 1.22 MB / 1.349 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.981, allocations: 6.75 kB / 1.349 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.981, allocations: 2.531 kB / 1.349 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002138/1.983, allocations: 1.048 MB / 1.35 GB, free: 24.57 MB / 0.9981 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.006448/1.989, allocations: 3.257 MB / 1.353 GB, free: 23.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.989, allocations: 2.438 kB / 1.353 GB, free: 23.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.99, allocations: 237.3 kB / 1.353 GB, free: 23.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/1.991, allocations: 7.219 kB / 1.353 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/1.991, allocations: 27.58 kB / 1.353 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001956/1.991, allocations: 0.5836 MB / 1.354 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.991, allocations: 4.188 kB / 1.354 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/1.995, allocations: 1.831 MB / 1.356 GB, free: 22.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009832/1.996, allocations: 355.6 kB / 1.356 GB, free: 21.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/1.996, allocations: 20.09 kB / 1.356 GB, free: 21.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.997, allocations: 161.2 kB / 1.356 GB, free: 21.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.998, allocations: 49.62 kB / 1.356 GB, free: 21.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/1.998, allocations: 32.94 kB / 1.356 GB, free: 21.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001719/1.999, allocations: 1.221 MB / 1.357 GB, free: 21.36 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.999, allocations: 0 / 1.357 GB, free: 21.36 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002958/2.002, allocations: 0.9705 MB / 1.358 GB, free: 21.21 MB / 0.9981 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 (78): * Single equations (assignments): 77 * 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.0009205/2.003, allocations: 370 kB / 1.359 GB, free: 21.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004232/2.007, allocations: 1.83 MB / 1.361 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/2.007, allocations: 0 / 1.361 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/2.009, allocations: 0.526 MB / 1.361 GB, free: 20.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005302/2.014, allocations: 1.005 MB / 1.362 GB, free: 20.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/2.021, allocations: 4.551 MB / 1.366 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009074/2.022, allocations: 1.564 MB / 1.368 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/2.022, allocations: 161.5 kB / 1.368 GB, free: 16.64 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/2.022, allocations: 0 / 1.368 GB, free: 16.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.05937/2.082, allocations: 43.34 MB / 1.41 GB, free: 7.387 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches