Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_10_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_10_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.00186/0.001861, allocations: 109.2 kB / 16.41 MB, free: 6.504 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.001907/0.001908, allocations: 188 kB / 17.34 MB, free: 5.738 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.479/1.479, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 67.88 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9101/0.9128, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006989/0.9199, allocations: 4.911 MB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.9309, allocations: 5.575 MB / 1.178 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.9321, allocations: 27.94 kB / 1.178 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004368/0.9366, allocations: 1.505 MB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.9396, allocations: 1.132 MB / 1.18 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.9425, allocations: 1.181 MB / 1.181 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02243/0.965, allocations: 13.66 MB / 1.195 GB, free: 7.812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.9654, allocations: 139 kB / 1.195 GB, free: 7.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.9671, allocations: 0.8916 MB / 1.196 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.9683, allocations: 0.8638 MB / 1.197 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.9685, allocations: 96 kB / 1.197 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.9713, allocations: 1.387 MB / 1.198 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.9725, allocations: 1.153 MB / 1.199 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.9738, allocations: 1.251 MB / 1.2 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.9797, allocations: 4.012 MB / 1.204 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.9797, allocations: 4 kB / 1.204 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.215e-06/0.9797, allocations: 0 / 1.204 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.19e-05/0.9798, allocations: 0 / 1.204 GB, free: 13.97 MB / 0.9356 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.006074/0.9859, allocations: 3.171 MB / 1.207 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9859, allocations: 8.031 kB / 1.207 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.9898, allocations: 0.7241 MB / 1.208 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007893/0.9977, allocations: 4.38 MB / 1.212 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.9978, allocations: 40.5 kB / 1.212 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.9979, allocations: 44 kB / 1.212 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.9999, allocations: 1 MB / 1.213 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.9999, allocations: 0 / 1.213 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.717e-05/1, allocations: 8 kB / 1.213 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1, allocations: 8 kB / 1.213 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/1.002, allocations: 0.8454 MB / 1.214 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006665/1.009, allocations: 3.246 MB / 1.217 GB, free: 320 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/1.011, allocations: 1.141 MB / 1.218 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/1.013, allocations: 453.7 kB / 1.219 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.982e-05/1.013, allocations: 24.27 kB / 1.219 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/1.013, allocations: 34.78 kB / 1.219 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 3.056e-06/1.013, allocations: 0 / 1.219 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.004281/1.017, allocations: 1.644 MB / 1.221 GB, free: 13 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/1.017, allocations: 55.41 kB / 1.221 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006405/1.023, allocations: 3.81 MB / 1.224 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002759/1.024, allocations: 41.64 kB / 1.224 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.025, allocations: 1.005 MB / 1.225 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/1.025, allocations: 142.9 kB / 1.226 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008352/1.026, allocations: 0.5119 MB / 1.226 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.026, allocations: 301.1 kB / 1.226 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002897/1.029, allocations: 1.821 MB / 1.228 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/1.033, allocations: 2.355 MB / 1.23 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/1.038, allocations: 3.864 MB / 1.234 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/1.038, allocations: 4 kB / 1.234 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007898/1.046, allocations: 4.488 MB / 1.239 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/1.046, allocations: 15.94 kB / 1.239 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/1.046, allocations: 8 kB / 1.239 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/1.047, allocations: 23.94 kB / 1.239 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.048, allocations: 383.5 kB / 1.239 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-05/1.048, allocations: 23.94 kB / 1.239 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/1.051, allocations: 262.3 kB / 1.239 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/1.051, allocations: 116 kB / 1.239 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004087/1.055, allocations: 2.156 MB / 1.241 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003194/1.058, allocations: 2.057 MB / 1.243 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005374/1.064, allocations: 3.291 MB / 1.247 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.351e-05/1.064, allocations: 4 kB / 1.247 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.0071/1.071, allocations: 3.9 MB / 1.25 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.071, allocations: 12 kB / 1.25 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.071, allocations: 16.03 kB / 1.251 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/1.071, allocations: 20.09 kB / 1.251 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/1.072, allocations: 379.5 kB / 1.251 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/1.073, allocations: 27.92 kB / 1.251 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/1.075, allocations: 211 kB / 1.251 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/1.075, allocations: 99.97 kB / 1.251 GB, free: 12.93 MB / 0.9825 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.0004516/1.076, allocations: 255.8 kB / 1.251 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000801/1.076, allocations: 274 kB / 1.252 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/1.08, allocations: 1.241 MB / 1.253 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.08, allocations: 4 kB / 1.253 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.08, allocations: 0 / 1.253 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.08, allocations: 3.984 kB / 1.253 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/1.083, allocations: 1.521 MB / 1.254 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.083, allocations: 4 kB / 1.254 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/1.083, allocations: 127.8 kB / 1.255 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.083, allocations: 7.938 kB / 1.255 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/1.083, allocations: 11.98 kB / 1.255 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.083, allocations: 4 kB / 1.255 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.083, allocations: 0 / 1.255 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/1.086, allocations: 1.318 MB / 1.256 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.087, allocations: 0.4989 MB / 1.256 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/1.088, allocations: 4 kB / 1.256 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.089, allocations: 71.92 kB / 1.256 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/1.089, allocations: 23.97 kB / 1.256 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/1.089, allocations: 23.98 kB / 1.256 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004242/1.093, allocations: 2.563 MB / 1.259 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/1.093, allocations: 0 / 1.259 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003454/1.097, allocations: 1.034 MB / 1.26 GB, free: 3.863 MB / 0.9825 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.001419/1.098, allocations: 0.4916 MB / 1.26 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007876/1.106, allocations: 4.549 MB / 1.265 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.106, allocations: 0 / 1.265 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.107, allocations: 479.9 kB / 1.265 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005179/1.112, allocations: 1.303 MB / 1.267 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/1.12, allocations: 4.275 MB / 1.271 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/1.121, allocations: 1.781 MB / 1.273 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003134/1.125, allocations: 0.7901 MB / 1.273 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007374/1.125, allocations: 215.3 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.125, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of Templates: time 0.103/1.228, allocations: 57.24 MB / 1.329 GB, free: 13.49 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches