Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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.SpeedControlled_y,tolerance=1e-08,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.SpeedControlled_y") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,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.SpeedControlled_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 99.11 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.001479/0.001479, allocations: 185.7 kB / 16.92 MB, free: 6.688 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.461/1.461, allocations: 223.3 MB / 241 MB, free: 5.336 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.438/2.438, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003871, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.795, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y): time 0.9923/1.787, allocations: 317 MB / 1.265 GB, free: 38.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0469/1.834, allocations: 20.13 MB / 1.285 GB, free: 38.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004844/1.839, allocations: 76.19 kB / 1.285 GB, free: 38.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006465/1.846, allocations: 1.274 MB / 1.286 GB, free: 38.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02081/1.867, allocations: 3.945 MB / 1.29 GB, free: 37.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01077/1.877, allocations: 2.065 MB / 1.292 GB, free: 37.92 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01576/1.893, allocations: 7.847 MB / 1.3 GB, free: 37.9 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006089/1.899, allocations: 1.86 MB / 1.302 GB, free: 37.62 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/1.911, allocations: 2.702 MB / 1.304 GB, free: 37.58 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007059/1.918, allocations: 1.83 MB / 1.306 GB, free: 37.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/1.919, allocations: 94.97 kB / 1.306 GB, free: 37.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01495/1.934, allocations: 4.149 MB / 1.31 GB, free: 37.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002603/1.937, allocations: 0.7862 MB / 1.311 GB, free: 37.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004561/1.941, allocations: 1.257 MB / 1.312 GB, free: 37.49 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/1.952, allocations: 3.764 MB / 1.316 GB, free: 37.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.952, allocations: 0 / 1.316 GB, free: 37.22 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.85e-06/1.952, allocations: 4 kB / 1.316 GB, free: 37.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001418/1.952, 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01008/1.962, allocations: 2.663 MB / 1.318 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.963, allocations: 11.28 kB / 1.318 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/1.976, allocations: 1.066 MB / 1.32 GB, free: 35.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008628/1.984, allocations: 2.18 MB / 1.322 GB, free: 35.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/1.985, allocations: 115.4 kB / 1.322 GB, free: 35.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005752/1.985, allocations: 150.5 kB / 1.322 GB, free: 35.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005631/1.991, allocations: 1.77 MB / 1.324 GB, free: 34.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/1.991, allocations: 2.531 kB / 1.324 GB, free: 34.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/1.991, allocations: 58.72 kB / 1.324 GB, free: 34.85 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/1.991, allocations: 51.89 kB / 1.324 GB, free: 34.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005826/1.997, allocations: 1.455 MB / 1.325 GB, free: 34.82 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.01735/2.015, allocations: 7.81 MB / 1.333 GB, free: 30.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005024/2.02, allocations: 1.09 MB / 1.334 GB, free: 30.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002374/2.022, allocations: 0.5981 MB / 1.334 GB, free: 30.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/2.022, allocations: 108.8 kB / 1.335 GB, free: 30.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/2.022, allocations: 49.38 kB / 1.335 GB, free: 30.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001572/2.024, allocations: 140.6 kB / 1.335 GB, free: 30.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=81): time 7.143e-06/2.024, allocations: 7.984 kB / 1.335 GB, free: 30.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.009621/2.034, allocations: 1.973 MB / 1.337 GB, free: 29.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/2.034, allocations: 62.75 kB / 1.337 GB, free: 29.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/2.038, allocations: 1.863 MB / 1.339 GB, free: 29.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002233/2.038, allocations: 51.33 kB / 1.339 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/2.039, allocations: 1.005 MB / 1.34 GB, free: 28.72 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/2.039, allocations: 287.4 kB / 1.34 GB, free: 28.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/2.039, allocations: 97.91 kB / 1.34 GB, free: 28.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/2.04, allocations: 349 kB / 1.34 GB, free: 28.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/2.041, allocations: 0.5814 MB / 1.341 GB, free: 28.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/2.044, allocations: 0.9872 MB / 1.342 GB, free: 27.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/2.047, allocations: 1.515 MB / 1.343 GB, free: 26.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/2.047, allocations: 2.781 kB / 1.343 GB, free: 26.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005766/2.053, allocations: 1.889 MB / 1.345 GB, free: 26.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000216/2.053, allocations: 378 kB / 1.346 GB, free: 26.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/2.053, allocations: 17.55 kB / 1.346 GB, free: 26.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/2.055, allocations: 266.9 kB / 1.346 GB, free: 26.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/2.057, allocations: 277.4 kB / 1.346 GB, free: 26.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/2.058, allocations: 1.871 MB / 1.348 GB, free: 24.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/2.061, allocations: 160.7 kB / 1.348 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/2.061, allocations: 61.45 kB / 1.348 GB, free: 24.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/2.061, allocations: 3.25 kB / 1.348 GB, free: 24.28 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004704/2.066, allocations: 1.555 MB / 1.35 GB, free: 24.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/2.066, allocations: 9.906 kB / 1.35 GB, free: 24.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/2.068, allocations: 306.6 kB / 1.35 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/2.069, allocations: 250.6 kB / 1.35 GB, free: 23.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00602/2.075, allocations: 3.517 MB / 1.354 GB, free: 21.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/2.078, allocations: 158.2 kB / 1.354 GB, free: 21.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/2.078, allocations: 57.39 kB / 1.354 GB, free: 21.27 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 (120): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001691/2.08, allocations: 0.6036 MB / 1.354 GB, free: 21.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/2.081, allocations: 203.5 kB / 1.355 GB, free: 20.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/2.084, allocations: 1.433 MB / 1.356 GB, free: 20.55 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/2.084, allocations: 6.969 kB / 1.356 GB, free: 20.55 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/2.084, allocations: 0 / 1.356 GB, free: 20.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002434/2.086, allocations: 1.224 MB / 1.357 GB, free: 20.18 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.006291/2.093, allocations: 3.235 MB / 1.36 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/2.093, allocations: 0 / 1.36 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009903/2.094, allocations: 206 kB / 1.361 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/2.094, allocations: 176.9 kB / 1.361 GB, free: 18.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/2.094, allocations: 24.83 kB / 1.361 GB, free: 18.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000777/2.095, allocations: 1.835 MB / 1.363 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/2.095, allocations: 0 / 1.363 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/2.099, allocations: 2.037 MB / 1.364 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009501/2.1, allocations: 365.4 kB / 1.365 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/2.101, allocations: 16.84 kB / 1.365 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/2.102, allocations: 135.7 kB / 1.365 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/2.102, allocations: 52.28 kB / 1.365 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/2.102, allocations: 37.91 kB / 1.365 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001659/2.104, allocations: 1.268 MB / 1.366 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/2.104, allocations: 4 kB / 1.366 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003171/2.107, allocations: 1.104 MB / 1.367 GB, free: 15.77 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 (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/2.108, allocations: 480.6 kB / 1.368 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004672/2.113, allocations: 2.18 MB / 1.37 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/2.113, allocations: 0 / 1.37 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/2.114, allocations: 0.5734 MB / 1.371 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005467/2.12, allocations: 1.042 MB / 1.372 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/2.126, allocations: 4.716 MB / 1.376 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009228/2.127, allocations: 1.606 MB / 1.378 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/2.128, allocations: 159.1 kB / 1.378 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/2.128, allocations: 0 / 1.378 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of Templates: time 0.0875/2.215, allocations: 65.87 MB / 1.442 GB, free: 8.145 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches