Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008757/0.008757, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.002111/0.002111, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.549/1.549, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9572/0.9586, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.009083/0.9677, allocations: 4.914 MB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.9806, allocations: 5.563 MB / 1.218 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.9823, allocations: 23.94 kB / 1.218 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004672/0.987, allocations: 1.501 MB / 1.219 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.9897, allocations: 1.136 MB / 1.221 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.9924, allocations: 1.185 MB / 1.222 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01953/1.012, allocations: 13.57 MB / 1.235 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/1.012, allocations: 147 kB / 1.235 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/1.014, allocations: 0.8916 MB / 1.236 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/1.015, allocations: 0.8638 MB / 1.237 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003363/1.016, allocations: 96 kB / 1.237 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/1.018, allocations: 1.377 MB / 1.238 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/1.02, allocations: 1.161 MB / 1.239 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/1.021, allocations: 1.247 MB / 1.241 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004092/1.025, allocations: 3.995 MB / 1.245 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.025, allocations: 0 / 1.245 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.204e-06/1.025, allocations: 3.938 kB / 1.245 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.882e-05/1.025, allocations: 4 kB / 1.245 GB, free: 7.828 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.004936/1.03, allocations: 3.071 MB / 1.248 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.03, allocations: 8.031 kB / 1.248 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/1.034, allocations: 0.7146 MB / 1.248 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007071/1.041, allocations: 4.362 MB / 1.252 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/1.041, allocations: 32.56 kB / 1.253 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.041, allocations: 48 kB / 1.253 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/1.043, allocations: 0.9884 MB / 1.254 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.043, allocations: 0 / 1.254 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/1.043, allocations: 12 kB / 1.254 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/1.043, allocations: 8 kB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/1.045, allocations: 0.8531 MB / 1.254 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005728/1.051, allocations: 3.242 MB / 1.258 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/1.053, allocations: 1.136 MB / 1.259 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/1.054, allocations: 453.1 kB / 1.259 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-05/1.054, allocations: 20.25 kB / 1.259 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/1.054, allocations: 42.78 kB / 1.259 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/1.054, allocations: 0 / 1.259 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.003875/1.058, allocations: 1.62 MB / 1.261 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/1.058, allocations: 55.41 kB / 1.261 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005403/1.064, allocations: 3.814 MB / 1.265 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/1.064, allocations: 41.7 kB / 1.265 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009254/1.065, allocations: 0.9932 MB / 1.266 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/1.065, allocations: 134.3 kB / 1.266 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/1.066, allocations: 0.5079 MB / 1.266 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.066, allocations: 301.1 kB / 1.266 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/1.068, allocations: 1.825 MB / 1.268 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/1.071, allocations: 2.355 MB / 1.271 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005058/1.076, allocations: 3.864 MB / 1.274 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/1.076, allocations: 4 kB / 1.274 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006743/1.083, allocations: 4.471 MB / 1.279 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.083, allocations: 11.94 kB / 1.279 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/1.083, allocations: 12 kB / 1.279 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.768e-05/1.083, allocations: 16 kB / 1.279 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.085, allocations: 387.6 kB / 1.279 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/1.085, allocations: 27.86 kB / 1.279 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.087, allocations: 273.5 kB / 1.279 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/1.087, allocations: 107.9 kB / 1.279 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003246/1.09, allocations: 2.159 MB / 1.282 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002761/1.093, allocations: 2.061 MB / 1.284 GB, free: 15.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004788/1.098, allocations: 3.295 MB / 1.287 GB, free: 11.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.906e-06/1.098, allocations: 0 / 1.287 GB, free: 11.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.006603/1.105, allocations: 3.893 MB / 1.291 GB, free: 7.711 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.105, allocations: 10.03 kB / 1.291 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.105, allocations: 15.94 kB / 1.291 GB, free: 7.688 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.105, allocations: 16 kB / 1.291 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/1.106, allocations: 379.5 kB / 1.291 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/1.106, allocations: 27.92 kB / 1.291 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/1.108, allocations: 206.7 kB / 1.291 GB, free: 7.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/1.109, allocations: 99.97 kB / 1.291 GB, free: 6.973 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (187): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003873/1.109, allocations: 255.8 kB / 1.292 GB, free: 6.715 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/1.109, allocations: 256.4 kB / 1.292 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/1.113, allocations: 1.228 MB / 1.293 GB, free: 5.219 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.113, allocations: 4 kB / 1.293 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.113, allocations: 0 / 1.293 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/1.113, allocations: 7.984 kB / 1.293 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/1.115, allocations: 1.521 MB / 1.294 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.115, allocations: 3.938 kB / 1.294 GB, free: 3.633 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007429/1.116, allocations: 127.8 kB / 1.295 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/1.116, allocations: 7.938 kB / 1.295 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/1.116, allocations: 11.98 kB / 1.295 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/1.116, allocations: 0 / 1.295 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.116, allocations: 0 / 1.295 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/1.119, allocations: 1.302 MB / 1.296 GB, free: 2.168 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009643/1.12, allocations: 0.4894 MB / 1.296 GB, free: 1.656 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/1.12, allocations: 8 kB / 1.296 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.121, allocations: 67.92 kB / 1.296 GB, free: 1.582 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.121, allocations: 27.97 kB / 1.296 GB, free: 1.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/1.121, allocations: 19.98 kB / 1.297 GB, free: 1.535 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003858/1.125, allocations: 2.571 MB / 1.299 GB, free: 14.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.31e-07/1.125, allocations: 4 kB / 1.299 GB, free: 14.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002838/1.128, allocations: 1.027 MB / 1.3 GB, free: 13.94 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/1.129, allocations: 494.6 kB / 1.3 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007123/1.136, allocations: 4.545 MB / 1.305 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.136, allocations: 4 kB / 1.305 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.138, allocations: 471.6 kB / 1.305 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/1.142, allocations: 1.32 MB / 1.307 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/1.149, allocations: 4.197 MB / 1.311 GB, free: 2.914 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.15, allocations: 1.781 MB / 1.313 GB, free: 1.102 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002802/1.153, allocations: 0.7863 MB / 1.313 GB, free: 316 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006701/1.154, allocations: 207.3 kB / 1.313 GB, free: 108 kB / 1.029 GB Notification: Performance of SimCode: time 9.41e-07/1.154, allocations: 0 / 1.313 GB, free: 108 kB / 1.029 GB Notification: Performance of Templates: time 0.08871/1.243, allocations: 57.07 MB / 1.369 GB, free: 7.926 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches