Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.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.EulerComparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta1|eta2|P1|P2|eff1.dp|eff1.r_N",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta1|eta2|P1|P2|eff1.dp|eff1.r_N",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008277/0.008277, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001753/0.001753, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.362/1.362, 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.563/2.563, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 71.89 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9573/0.9585, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005648/0.9642, allocations: 3.769 MB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008853/0.9731, allocations: 4.869 MB / 1.216 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008014/0.974, allocations: 15.94 kB / 1.216 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.9781, allocations: 1.409 MB / 1.218 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.9801, allocations: 0.7927 MB / 1.218 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.9822, allocations: 0.8501 MB / 1.219 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01841/1.001, allocations: 12.79 MB / 1.232 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/1.001, allocations: 101.7 kB / 1.232 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/1.003, allocations: 0.5762 MB / 1.232 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007796/1.003, allocations: 0.5915 MB / 1.233 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/1.003, allocations: 71.94 kB / 1.233 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/1.005, allocations: 0.8306 MB / 1.234 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007568/1.006, allocations: 0.8065 MB / 1.235 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008622/1.007, allocations: 0.8391 MB / 1.235 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/1.01, allocations: 2.535 MB / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.01, allocations: 0 / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/1.01, allocations: 0 / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.347e-05/1.01, allocations: 0 / 1.238 GB, free: 14.74 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00414/1.014, allocations: 2.192 MB / 1.24 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.015, allocations: 12.03 kB / 1.24 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/1.017, allocations: 485.2 kB / 1.24 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004602/1.022, allocations: 2.82 MB / 1.243 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/1.022, allocations: 24 kB / 1.243 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/1.022, allocations: 35.98 kB / 1.243 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/1.023, allocations: 0.6495 MB / 1.244 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.023, allocations: 0 / 1.244 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/1.023, allocations: 8 kB / 1.244 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.023, allocations: 4 kB / 1.244 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/1.025, allocations: 0.5347 MB / 1.244 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/1.028, allocations: 2.225 MB / 1.247 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.03, allocations: 0.6997 MB / 1.247 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/1.03, allocations: 284.7 kB / 1.248 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/1.031, allocations: 7.922 kB / 1.248 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.031, allocations: 38.55 kB / 1.248 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 3.928e-06/1.031, allocations: 112 / 1.248 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.002784/1.033, allocations: 1.026 MB / 1.249 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/1.033, allocations: 55.41 kB / 1.249 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003905/1.037, allocations: 2.676 MB / 1.251 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/1.038, allocations: 37.64 kB / 1.251 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006594/1.038, allocations: 0.6763 MB / 1.252 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.405e-05/1.038, allocations: 78.94 kB / 1.252 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005195/1.039, allocations: 350.2 kB / 1.252 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.039, allocations: 301.1 kB / 1.253 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/1.041, allocations: 1.095 MB / 1.254 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/1.043, allocations: 1.444 MB / 1.255 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/1.046, allocations: 2.321 MB / 1.257 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.046, allocations: 8 kB / 1.257 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00467/1.051, allocations: 2.737 MB / 1.26 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/1.051, allocations: 8 kB / 1.26 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.051, allocations: 8.031 kB / 1.26 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/1.051, allocations: 12 kB / 1.26 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.052, allocations: 259.7 kB / 1.26 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/1.052, allocations: 23.86 kB / 1.26 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.054, allocations: 210.4 kB / 1.261 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/1.054, allocations: 75.98 kB / 1.261 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002309/1.056, allocations: 1.397 MB / 1.262 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001841/1.058, allocations: 1.284 MB / 1.263 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003113/1.061, allocations: 2.027 MB / 1.265 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.763e-06/1.061, allocations: 3.984 kB / 1.265 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004448/1.066, allocations: 2.42 MB / 1.268 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.066, allocations: 8 kB / 1.268 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.066, allocations: 4 kB / 1.268 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.066, allocations: 12 kB / 1.268 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009645/1.067, allocations: 259.6 kB / 1.268 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/1.067, allocations: 15.94 kB / 1.268 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.069, allocations: 179.7 kB / 1.268 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.069, allocations: 63.98 kB / 1.268 GB, free: 14.96 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003556/1.069, allocations: 231.9 kB / 1.268 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/1.069, allocations: 169.7 kB / 1.269 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/1.072, allocations: 0.8079 MB / 1.269 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.072, allocations: 4 kB / 1.269 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.072, allocations: 3.938 kB / 1.269 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.072, allocations: 0 / 1.269 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/1.073, allocations: 1.051 MB / 1.27 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.073, allocations: 0 / 1.27 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/1.074, allocations: 91.92 kB / 1.27 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.074, allocations: 3.938 kB / 1.27 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/1.074, allocations: 11.98 kB / 1.27 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.074, allocations: 7.938 kB / 1.27 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.074, allocations: 4 kB / 1.27 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/1.076, allocations: 0.8567 MB / 1.271 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/1.076, allocations: 354.6 kB / 1.272 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.077, allocations: 8 kB / 1.272 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000894/1.078, allocations: 87.89 kB / 1.272 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/1.078, allocations: 15.98 kB / 1.272 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/1.078, allocations: 24.05 kB / 1.272 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002987/1.081, allocations: 1.827 MB / 1.274 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.081, allocations: 0 / 1.274 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002018/1.083, allocations: 0.6794 MB / 1.274 GB, free: 8.609 MB / 0.9981 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 (23): * Single equations (assignments): 23 * 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.0008204/1.084, allocations: 394.8 kB / 1.275 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004958/1.088, allocations: 2.768 MB / 1.277 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.089, allocations: 0 / 1.277 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007969/1.089, allocations: 294.7 kB / 1.278 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.093, allocations: 0.8999 MB / 1.278 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/1.097, allocations: 2.867 MB / 1.281 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.099, allocations: 1.413 MB / 1.283 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001671/1.1, allocations: 0.5179 MB / 1.283 GB, free: 15.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/1.101, allocations: 139.3 kB / 1.283 GB, free: 15.27 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/1.101, allocations: 3.938 kB / 1.283 GB, free: 15.27 MB / 1.014 GB Notification: Performance of Templates: time 0.06315/1.164, allocations: 38.84 MB / 1.321 GB, free: 9.059 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches