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.001214/0.001214, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001338/0.001338, allocations: 168.7 kB / 15.95 MB, free: 204 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.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.395 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.489/2.489, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7158/0.7162, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y): time 0.3063/1.023, allocations: 295.7 MB / 1.243 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7122/1.735, allocations: 18.86 MB / 1.262 GB, free: 75.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003833/1.739, allocations: 75.81 kB / 1.262 GB, free: 75.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003532/1.742, allocations: 0.9406 MB / 1.263 GB, free: 75.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01249/1.755, allocations: 3.105 MB / 1.266 GB, free: 75.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00921/1.764, allocations: 1.701 MB / 1.267 GB, free: 75.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0169/1.781, allocations: 6.64 MB / 1.274 GB, free: 75.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004786/1.786, allocations: 1.616 MB / 1.275 GB, free: 75.01 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009518/1.795, allocations: 2.477 MB / 1.278 GB, free: 74.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005289/1.801, allocations: 1.733 MB / 1.28 GB, free: 74.97 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008998/1.802, allocations: 96.5 kB / 1.28 GB, free: 74.97 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007061/1.809, allocations: 2.27 MB / 1.282 GB, free: 74.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001538/1.81, allocations: 0.7812 MB / 1.283 GB, free: 74.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/1.812, allocations: 0.5323 MB / 1.283 GB, free: 74.9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/1.817, allocations: 3.575 MB / 1.287 GB, free: 74.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.817, allocations: 0 / 1.287 GB, free: 74.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.784e-06/1.817, allocations: 4.797 kB / 1.287 GB, free: 74.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.178e-05/1.817, allocations: 0 / 1.287 GB, free: 74.63 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.004493/1.821, allocations: 2.681 MB / 1.289 GB, free: 73.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/1.821, allocations: 8.969 kB / 1.289 GB, free: 73.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006223/1.827, allocations: 1.069 MB / 1.29 GB, free: 73.03 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/1.833, allocations: 2.104 MB / 1.292 GB, free: 72.53 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/1.833, allocations: 118.5 kB / 1.292 GB, free: 72.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/1.833, allocations: 153.9 kB / 1.293 GB, free: 72.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/1.837, allocations: 1.758 MB / 1.294 GB, free: 72.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/1.837, allocations: 0 / 1.294 GB, free: 72.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/1.837, allocations: 61.92 kB / 1.294 GB, free: 72.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/1.837, allocations: 52.31 kB / 1.294 GB, free: 72.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/1.84, allocations: 1.443 MB / 1.296 GB, free: 72.31 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.009611/1.85, allocations: 7.808 MB / 1.303 GB, free: 68.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/1.852, allocations: 1.081 MB / 1.304 GB, free: 68.37 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/1.853, allocations: 0.5952 MB / 1.305 GB, free: 68.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/1.854, allocations: 110.2 kB / 1.305 GB, free: 68.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/1.854, allocations: 46.94 kB / 1.305 GB, free: 68.22 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001106/1.855, allocations: 137.4 kB / 1.305 GB, free: 68.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=81): time 3.837e-06/1.855, allocations: 0 / 1.305 GB, free: 68.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.005125/1.86, allocations: 1.976 MB / 1.307 GB, free: 67.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.86, allocations: 60.31 kB / 1.307 GB, free: 67.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002726/1.863, allocations: 1.839 MB / 1.309 GB, free: 67.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.863, allocations: 52.22 kB / 1.309 GB, free: 67.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007448/1.864, allocations: 1.012 MB / 1.31 GB, free: 67.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/1.864, allocations: 286.9 kB / 1.31 GB, free: 66.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/1.864, allocations: 24.09 kB / 1.31 GB, free: 66.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/1.864, allocations: 344.7 kB / 1.311 GB, free: 66.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/1.865, allocations: 493.7 kB / 1.311 GB, free: 66.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.867, allocations: 0.8808 MB / 1.312 GB, free: 66.19 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.868, allocations: 0.5813 MB / 1.313 GB, free: 66.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.429e-05/1.868, allocations: 2.969 kB / 1.313 GB, free: 66.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003989/1.872, allocations: 1.616 MB / 1.314 GB, free: 65.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003075/1.872, allocations: 380 kB / 1.315 GB, free: 65.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/1.872, allocations: 11.56 kB / 1.315 GB, free: 65.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008966/1.873, allocations: 199.8 kB / 1.315 GB, free: 65.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/1.875, allocations: 279.9 kB / 1.315 GB, free: 65.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/1.877, allocations: 1.862 MB / 1.317 GB, free: 63.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/1.88, allocations: 155.8 kB / 1.317 GB, free: 63.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/1.88, allocations: 68.83 kB / 1.317 GB, free: 63.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.88, allocations: 10.47 kB / 1.317 GB, free: 63.86 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004503/1.884, allocations: 1.533 MB / 1.319 GB, free: 63.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/1.884, allocations: 10.44 kB / 1.319 GB, free: 63.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/1.886, allocations: 310.5 kB / 1.319 GB, free: 63.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.887, allocations: 250.6 kB / 1.319 GB, free: 63.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/1.894, allocations: 3.472 MB / 1.323 GB, free: 61.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/1.897, allocations: 145.8 kB / 1.323 GB, free: 61.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/1.897, allocations: 69.41 kB / 1.323 GB, free: 61.09 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.001835/1.899, allocations: 0.61 MB / 1.323 GB, free: 60.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008006/1.9, allocations: 204.2 kB / 1.324 GB, free: 60.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/1.905, allocations: 1.425 MB / 1.325 GB, free: 60.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.905, allocations: 8.188 kB / 1.325 GB, free: 60.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.905, allocations: 0 / 1.325 GB, free: 60.38 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003565/1.909, allocations: 1.209 MB / 1.326 GB, free: 60.02 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.01033/1.919, allocations: 3.245 MB / 1.329 GB, free: 58.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.919, allocations: 2.969 kB / 1.329 GB, free: 58.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.921, allocations: 206.3 kB / 1.33 GB, free: 58.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007115/1.922, allocations: 181.6 kB / 1.33 GB, free: 58.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/1.922, allocations: 25.95 kB / 1.33 GB, free: 58.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/1.923, allocations: 1.824 MB / 1.332 GB, free: 57.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.923, allocations: 0 / 1.332 GB, free: 57.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00598/1.929, allocations: 2.023 MB / 1.333 GB, free: 56.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/1.93, allocations: 366.9 kB / 1.334 GB, free: 56.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008316/1.931, allocations: 24.91 kB / 1.334 GB, free: 56.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/1.934, allocations: 135.5 kB / 1.334 GB, free: 56.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.934, allocations: 54.17 kB / 1.334 GB, free: 56.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.934, allocations: 43.09 kB / 1.334 GB, free: 56.13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003563/1.938, allocations: 1.244 MB / 1.335 GB, free: 55.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.938, allocations: 3.562 kB / 1.335 GB, free: 55.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00616/1.944, allocations: 1.105 MB / 1.336 GB, free: 55.61 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.001682/1.946, allocations: 474.6 kB / 1.337 GB, free: 55.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007084/1.953, allocations: 2.091 MB / 1.339 GB, free: 54.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/1.953, allocations: 0 / 1.339 GB, free: 54.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/1.955, allocations: 0.5664 MB / 1.339 GB, free: 54.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006062/1.961, allocations: 1.063 MB / 1.34 GB, free: 54.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006864/1.968, allocations: 4.451 MB / 1.345 GB, free: 52.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.969, allocations: 1.605 MB / 1.346 GB, free: 50.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002585/1.972, allocations: 0.5149 MB / 1.347 GB, free: 50.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/1.972, allocations: 152.1 kB / 1.347 GB, free: 50.72 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.972, allocations: 1.859 kB / 1.347 GB, free: 50.72 MB / 0.9981 GB Notification: Performance of Templates: time 0.06653/2.039, allocations: 42.91 MB / 1.389 GB, free: 11.23 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","/var/lib/jenkins/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