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.001294/0.001294, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001607/0.001608, allocations: 177.3 kB / 15.94 MB, free: 228 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.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.379/2.379, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/0.7442, allocations: 142.3 MB / 0.9535 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y): time 0.2719/1.016, allocations: 262.1 MB / 1.209 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02688/1.043, allocations: 18.48 MB / 1.228 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/1.046, allocations: 75.5 kB / 1.228 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003946/1.05, allocations: 1.174 MB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01239/1.063, allocations: 3.846 MB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00636/1.069, allocations: 2.023 MB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007451/1.076, allocations: 3.396 MB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003153/1.08, allocations: 1.658 MB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006406/1.086, allocations: 2.286 MB / 1.242 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/1.089, allocations: 1.175 MB / 1.243 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000394/1.089, allocations: 96 kB / 1.243 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/1.094, allocations: 1.923 MB / 1.245 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/1.095, allocations: 0.7049 MB / 1.245 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/1.097, allocations: 0.5316 MB / 1.246 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006587/1.104, allocations: 3.359 MB / 1.249 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.104, allocations: 0 / 1.249 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.764e-06/1.104, allocations: 0 / 1.249 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.675e-05/1.104, allocations: 0 / 1.249 GB, free: 0.6484 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.5377/1.642, allocations: 2.627 MB / 1.252 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.642, allocations: 9.75 kB / 1.252 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007341/1.649, allocations: 1.07 MB / 1.253 GB, free: 287.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005778/1.655, allocations: 2.163 MB / 1.255 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.655, allocations: 121.2 kB / 1.255 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/1.655, allocations: 149.9 kB / 1.255 GB, free: 286.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/1.659, allocations: 1.732 MB / 1.257 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/1.659, allocations: 0.8125 kB / 1.257 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/1.659, allocations: 56.28 kB / 1.257 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-05/1.659, allocations: 58.45 kB / 1.257 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/1.663, allocations: 1.419 MB / 1.258 GB, free: 284.9 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.01169/1.674, allocations: 7.767 MB / 1.266 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/1.677, allocations: 1.058 MB / 1.267 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.39e-05/1.677, allocations: 21.25 kB / 1.267 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/1.677, allocations: 43.22 kB / 1.267 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001203/1.679, allocations: 142.1 kB / 1.267 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=81): time 3.747e-06/1.679, allocations: 0 / 1.267 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.005492/1.684, allocations: 1.924 MB / 1.269 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/1.684, allocations: 60.59 kB / 1.269 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/1.687, allocations: 1.813 MB / 1.271 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/1.687, allocations: 47.83 kB / 1.271 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006454/1.688, allocations: 1.004 MB / 1.272 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/1.688, allocations: 285.9 kB / 1.272 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/1.688, allocations: 20.19 kB / 1.272 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/1.688, allocations: 347.5 kB / 1.273 GB, free: 274 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/1.689, allocations: 470.6 kB / 1.273 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/1.691, allocations: 0.8681 MB / 1.274 GB, free: 273.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/1.692, allocations: 0.5582 MB / 1.274 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.692, allocations: 2.812 kB / 1.274 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00377/1.696, allocations: 1.587 MB / 1.276 GB, free: 272 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007491/1.697, allocations: 3.976 MB / 1.28 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/1.697, allocations: 10.03 kB / 1.28 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008501/1.697, allocations: 196 kB / 1.28 GB, free: 267.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.699, allocations: 281.7 kB / 1.28 GB, free: 267.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/1.7, allocations: 1.862 MB / 1.282 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.702, allocations: 152 kB / 1.282 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/1.702, allocations: 74.12 kB / 1.282 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.702, allocations: 8 kB / 1.282 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003434/1.706, allocations: 1.509 MB / 1.284 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.706, allocations: 10.12 kB / 1.284 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/1.707, allocations: 318 kB / 1.284 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/1.708, allocations: 246 kB / 1.284 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/1.713, allocations: 3.585 MB / 1.288 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.715, allocations: 153 kB / 1.288 GB, free: 261.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.715, allocations: 65.39 kB / 1.288 GB, free: 261.6 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001129/1.716, allocations: 0.6039 MB / 1.289 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/1.716, allocations: 199.4 kB / 1.289 GB, free: 261.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/1.72, allocations: 1.406 MB / 1.29 GB, free: 260.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.72, allocations: 7.188 kB / 1.29 GB, free: 260.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.72, allocations: 1.25 kB / 1.29 GB, free: 260.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00233/1.722, allocations: 1.187 MB / 1.291 GB, free: 259.6 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.005452/1.728, allocations: 3.218 MB / 1.295 GB, free: 257.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.728, allocations: 11.83 kB / 1.295 GB, free: 257.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009829/1.729, allocations: 197.7 kB / 1.295 GB, free: 257.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/1.729, allocations: 181.5 kB / 1.295 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/1.729, allocations: 31.73 kB / 1.295 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007151/1.73, allocations: 1.826 MB / 1.297 GB, free: 255.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.73, allocations: 3.875 kB / 1.297 GB, free: 255.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/1.733, allocations: 2.085 MB / 1.299 GB, free: 254.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008357/1.734, allocations: 360.8 kB / 1.299 GB, free: 253.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/1.735, allocations: 20 kB / 1.299 GB, free: 253.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.736, allocations: 137.4 kB / 1.299 GB, free: 253.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.736, allocations: 56.53 kB / 1.299 GB, free: 253.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/1.736, allocations: 39.97 kB / 1.299 GB, free: 253.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001401/1.737, allocations: 1.226 MB / 1.301 GB, free: 252.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.737, allocations: 0 / 1.301 GB, free: 252.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002676/1.74, allocations: 1.111 MB / 1.302 GB, free: 251.3 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009732/1.741, allocations: 478.1 kB / 1.302 GB, free: 250.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004174/1.745, allocations: 2.042 MB / 1.304 GB, free: 248.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.745, allocations: 0 / 1.304 GB, free: 248.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/1.747, allocations: 0.5505 MB / 1.305 GB, free: 248.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/1.751, allocations: 1.053 MB / 1.306 GB, free: 247.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/1.758, allocations: 4.433 MB / 1.31 GB, free: 242.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008951/1.759, allocations: 1.649 MB / 1.312 GB, free: 241.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002313/1.761, allocations: 0.5249 MB / 1.312 GB, free: 240.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/1.762, allocations: 159.4 kB / 1.312 GB, free: 240.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.762, allocations: 0 / 1.312 GB, free: 240.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.05893/1.82, allocations: 42.39 MB / 1.354 GB, free: 198.6 MB / 0.9981 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","../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches