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.001259/0.00126, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001716/0.001717, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.23 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.487/2.487, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003739, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8143, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.3278/1.142, allocations: 295.8 MB / 1.243 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6702/1.812, allocations: 18.88 MB / 1.262 GB, free: 75.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/1.816, allocations: 74.66 kB / 1.262 GB, free: 75.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003034/1.819, allocations: 0.9666 MB / 1.263 GB, free: 75.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008307/1.827, allocations: 3.106 MB / 1.266 GB, free: 75.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005186/1.832, allocations: 1.793 MB / 1.268 GB, free: 75.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009586/1.842, allocations: 6.786 MB / 1.274 GB, free: 75.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/1.845, allocations: 1.578 MB / 1.276 GB, free: 75.06 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006715/1.852, allocations: 2.563 MB / 1.278 GB, free: 75.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004855/1.856, allocations: 1.694 MB / 1.28 GB, free: 75.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00059/1.857, allocations: 92.81 kB / 1.28 GB, free: 75.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00655/1.864, allocations: 2.212 MB / 1.282 GB, free: 74.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001352/1.865, allocations: 0.7441 MB / 1.283 GB, free: 74.99 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/1.867, allocations: 0.5051 MB / 1.283 GB, free: 74.96 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004821/1.871, allocations: 3.346 MB / 1.287 GB, free: 74.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.871, allocations: 0 / 1.287 GB, free: 74.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.871, allocations: 0 / 1.287 GB, free: 74.7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001052/1.872, allocations: 4 kB / 1.287 GB, free: 74.69 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.004983/1.877, allocations: 2.566 MB / 1.289 GB, free: 73.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/1.877, allocations: 8.656 kB / 1.289 GB, free: 73.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006605/1.883, allocations: 1.06 MB / 1.29 GB, free: 73.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/1.888, allocations: 1.878 MB / 1.292 GB, free: 72.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000403/1.889, allocations: 184.1 kB / 1.292 GB, free: 72.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004913/1.889, allocations: 146.2 kB / 1.292 GB, free: 72.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004255/1.893, allocations: 1.783 MB / 1.294 GB, free: 72.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/1.893, allocations: 2.906 kB / 1.294 GB, free: 72.47 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/1.894, allocations: 64.48 kB / 1.294 GB, free: 72.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/1.894, allocations: 51.81 kB / 1.294 GB, free: 72.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/1.898, allocations: 1.705 MB / 1.296 GB, free: 72.42 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.01013/1.908, allocations: 8.008 MB / 1.304 GB, free: 68.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/1.91, allocations: 1.219 MB / 1.305 GB, free: 68.26 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/1.912, allocations: 0.6223 MB / 1.305 GB, free: 68.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/1.912, allocations: 116.8 kB / 1.306 GB, free: 68.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.912, allocations: 41.12 kB / 1.306 GB, free: 68.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00116/1.913, allocations: 195.7 kB / 1.306 GB, free: 68.05 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 4.859e-06/1.913, allocations: 0 / 1.306 GB, free: 68.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.004807/1.918, allocations: 1.737 MB / 1.307 GB, free: 67.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/1.918, allocations: 58.53 kB / 1.307 GB, free: 67.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/1.921, allocations: 1.81 MB / 1.309 GB, free: 67.58 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/1.922, allocations: 45.17 kB / 1.309 GB, free: 67.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007714/1.922, allocations: 0.987 MB / 1.31 GB, free: 67.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/1.923, allocations: 272.4 kB / 1.311 GB, free: 67.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/1.923, allocations: 21.44 kB / 1.311 GB, free: 67.06 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.923, allocations: 345.9 kB / 1.311 GB, free: 66.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/1.924, allocations: 0.5342 MB / 1.311 GB, free: 66.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/1.926, allocations: 0.9473 MB / 1.312 GB, free: 66.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/1.928, allocations: 0.6229 MB / 1.313 GB, free: 66.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/1.928, allocations: 2.875 kB / 1.313 GB, free: 66.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003787/1.931, allocations: 1.615 MB / 1.315 GB, free: 66.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/1.932, allocations: 380.9 kB / 1.315 GB, free: 65.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.932, allocations: 9 kB / 1.315 GB, free: 65.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/1.932, allocations: 17.03 kB / 1.315 GB, free: 65.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/1.933, allocations: 333.4 kB / 1.315 GB, free: 65.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003234/1.934, allocations: 0.6175 MB / 1.316 GB, free: 65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/1.936, allocations: 211.4 kB / 1.316 GB, free: 64.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/1.936, allocations: 54.41 kB / 1.316 GB, free: 64.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.936, allocations: 6.844 kB / 1.316 GB, free: 64.98 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002747/1.939, allocations: 1.306 MB / 1.317 GB, free: 64.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/1.939, allocations: 9.312 kB / 1.317 GB, free: 64.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.939, allocations: 17.16 kB / 1.317 GB, free: 64.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.94, allocations: 284.3 kB / 1.318 GB, free: 64.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.671e-05/1.94, allocations: 20.84 kB / 1.318 GB, free: 64.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/1.942, allocations: 192 kB / 1.318 GB, free: 64.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.942, allocations: 53.56 kB / 1.318 GB, free: 64.89 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 (125): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001319/1.944, allocations: 0.5884 MB / 1.318 GB, free: 64.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005939/1.944, allocations: 193.8 kB / 1.319 GB, free: 64.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/1.948, allocations: 1.335 MB / 1.32 GB, free: 64.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.948, allocations: 8 kB / 1.32 GB, free: 64.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.948, allocations: 0 / 1.32 GB, free: 64.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002598/1.951, allocations: 1.147 MB / 1.321 GB, free: 63.88 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.008023/1.959, allocations: 3.361 MB / 1.324 GB, free: 62.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.959, allocations: 3.344 kB / 1.324 GB, free: 62.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/1.96, allocations: 260.5 kB / 1.325 GB, free: 62.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/1.96, allocations: 5.094 kB / 1.325 GB, free: 62.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/1.96, allocations: 27.02 kB / 1.325 GB, free: 62.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001985/1.96, allocations: 0.5955 MB / 1.325 GB, free: 61.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.96, allocations: 9.078 kB / 1.325 GB, free: 61.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/1.965, allocations: 2.008 MB / 1.327 GB, free: 61.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.966, allocations: 372.6 kB / 1.328 GB, free: 61.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000564/1.966, allocations: 12.97 kB / 1.328 GB, free: 61.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.968, allocations: 185.7 kB / 1.328 GB, free: 61.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.968, allocations: 54.22 kB / 1.328 GB, free: 61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-05/1.969, allocations: 32.02 kB / 1.328 GB, free: 60.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002211/1.971, allocations: 1.233 MB / 1.329 GB, free: 60.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.994e-06/1.971, allocations: 0 / 1.329 GB, free: 60.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003403/1.974, allocations: 1.009 MB / 1.33 GB, free: 60.5 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009303/1.975, allocations: 356.8 kB / 1.33 GB, free: 60.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005738/1.981, allocations: 1.948 MB / 1.332 GB, free: 60.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.981, allocations: 0 / 1.332 GB, free: 60.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/1.983, allocations: 0.592 MB / 1.333 GB, free: 59.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007757/1.991, allocations: 1.05 MB / 1.334 GB, free: 59.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/2.002, allocations: 4.388 MB / 1.338 GB, free: 57.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/2.004, allocations: 1.567 MB / 1.34 GB, free: 56.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004031/2.008, allocations: 0.4944 MB / 1.34 GB, free: 55.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008528/2.008, allocations: 158.6 kB / 1.34 GB, free: 55.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/2.008, allocations: 0 / 1.34 GB, free: 55.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.06629/2.075, allocations: 37.95 MB / 1.377 GB, free: 22.16 MB / 0.9981 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/jenkins/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