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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008016/0.0008016, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007683/0.0007683, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8995/0.8995, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.802/1.802, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|eta1|eta2|P1|P2|eff1.dp|eff1.r_N",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.608e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.003232/0.003258, allocations: 3.459 MB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005361/0.008619, allocations: 4.644 MB / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.008963, allocations: 19.88 kB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.0114, allocations: 1.446 MB / 1.01 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0008844/0.01229, allocations: 0.8398 MB / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.0133, allocations: 0.8577 MB / 1.012 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01208/0.02538, allocations: 14.76 MB / 1.026 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.02558, allocations: 53.95 kB / 1.026 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009041/0.02648, allocations: 0.7834 MB / 1.027 GB, free: 2.074 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.02714, allocations: 0.5882 MB / 1.028 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.02721, allocations: 56 kB / 1.028 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006872/0.0279, allocations: 0.5185 MB / 1.028 GB, free: 0.9102 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.02832, allocations: 0.8027 MB / 1.029 GB, free: 108 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.02865, allocations: 0.4909 MB / 1.03 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.0302, allocations: 2.219 MB / 1.032 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.03021, allocations: 0 / 1.032 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.03021, allocations: 0 / 1.032 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.03022, allocations: 4 kB / 1.032 GB, free: 13.38 MB / 0.9948 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.002175/0.0324, allocations: 2.147 MB / 1.034 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.03244, allocations: 9.344 kB / 1.034 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.03361, allocations: 0.4944 MB / 1.034 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.0367, allocations: 2.972 MB / 1.037 GB, free: 7.637 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.03672, allocations: 27.94 kB / 1.037 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.03677, allocations: 32 kB / 1.037 GB, free: 7.578 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.03748, allocations: 0.5947 MB / 1.038 GB, free: 6.977 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.03749, allocations: 0 / 1.038 GB, free: 6.977 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.03752, allocations: 12 kB / 1.038 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.03753, allocations: 4 kB / 1.038 GB, free: 6.961 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007299/0.03826, allocations: 475.7 kB / 1.038 GB, free: 6.496 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.04004, allocations: 1.483 MB / 1.04 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.04092, allocations: 0.5905 MB / 1.04 GB, free: 4.379 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.04129, allocations: 240.7 kB / 1.041 GB, free: 4.141 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.04132, allocations: 7.984 kB / 1.041 GB, free: 4.133 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.04135, allocations: 34.67 kB / 1.041 GB, free: 4.09 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=21): time 2.294e-06/0.04135, allocations: 3.938 kB / 1.041 GB, free: 4.086 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21): time 0.001634/0.04298, allocations: 0.9515 MB / 1.042 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.04302, allocations: 55.41 kB / 1.042 GB, free: 3.062 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.04481, allocations: 2.222 MB / 1.044 GB, free: 0.8086 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.04485, allocations: 41.64 kB / 1.044 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.04529, allocations: 0.7562 MB / 1.045 GB, free: 0 / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.04552, allocations: 75.31 kB / 1.045 GB, free: 82.66 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.04574, allocations: 139 kB / 1.045 GB, free: 82.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.04578, allocations: 325.8 kB / 1.045 GB, free: 82.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.04648, allocations: 0.58 MB / 1.046 GB, free: 82.33 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.04715, allocations: 0.8927 MB / 1.046 GB, free: 81.97 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.04831, allocations: 1.349 MB / 1.048 GB, free: 81.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.04831, allocations: 2.875 kB / 1.048 GB, free: 81.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001786/0.0501, allocations: 1.551 MB / 1.049 GB, free: 81.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.05013, allocations: 12.47 kB / 1.049 GB, free: 81.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.05015, allocations: 5.781 kB / 1.049 GB, free: 81.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.718e-05/0.05018, allocations: 10.72 kB / 1.049 GB, free: 81.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.0506, allocations: 164.6 kB / 1.05 GB, free: 81.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.05061, allocations: 10.77 kB / 1.05 GB, free: 81.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.05141, allocations: 149.1 kB / 1.05 GB, free: 81.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-05/0.05149, allocations: 67.53 kB / 1.05 GB, free: 81.25 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001027/0.05251, allocations: 0.9284 MB / 1.051 GB, free: 80.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005778/0.05309, allocations: 0.7955 MB / 1.051 GB, free: 80.41 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.0541, allocations: 1.168 MB / 1.053 GB, free: 79.89 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.0541, allocations: 2.719 kB / 1.053 GB, free: 79.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001326/0.05543, allocations: 1.361 MB / 1.054 GB, free: 79.46 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.05544, allocations: 6.906 kB / 1.054 GB, free: 79.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.05545, allocations: 8 kB / 1.054 GB, free: 79.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.05546, allocations: 8.281 kB / 1.054 GB, free: 79.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.05577, allocations: 154.6 kB / 1.054 GB, free: 79.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.05578, allocations: 18.41 kB / 1.054 GB, free: 79.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/0.05636, allocations: 149.5 kB / 1.054 GB, free: 79.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.05641, allocations: 49.97 kB / 1.054 GB, free: 79.42 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (52): * Single equations (assignments): 50 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.000124/0.05653, allocations: 212.4 kB / 1.054 GB, free: 79.22 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.05665, allocations: 183.2 kB / 1.055 GB, free: 79.12 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.05775, allocations: 0.7858 MB / 1.055 GB, free: 78.89 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.05775, allocations: 8.547 kB / 1.055 GB, free: 78.89 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.05776, allocations: 3.062 kB / 1.055 GB, free: 78.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.05776, allocations: 0 / 1.055 GB, free: 78.89 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.05837, allocations: 0.7567 MB / 1.056 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.05838, allocations: 0 / 1.056 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.0586, allocations: 92.88 kB / 1.056 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.0586, allocations: 0 / 1.056 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.05862, allocations: 13.3 kB / 1.056 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.05863, allocations: 1.125 kB / 1.056 GB, free: 78.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.05863, allocations: 6.625 kB / 1.056 GB, free: 78.54 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.05946, allocations: 0.8172 MB / 1.057 GB, free: 78.18 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.05971, allocations: 230 kB / 1.057 GB, free: 78.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/0.0598, allocations: 2.625 kB / 1.057 GB, free: 78.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.06021, allocations: 86.95 kB / 1.057 GB, free: 78.04 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.06027, allocations: 33.17 kB / 1.057 GB, free: 78.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.0603, allocations: 21.92 kB / 1.057 GB, free: 78.03 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001238/0.06153, allocations: 1.573 MB / 1.059 GB, free: 77.45 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.06153, allocations: 0 / 1.059 GB, free: 77.45 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008526/0.06239, allocations: 485.4 kB / 1.059 GB, free: 77.42 MB / 0.9948 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.0004138/0.0628, allocations: 233 kB / 1.06 GB, free: 77.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.06444, allocations: 1.395 MB / 1.061 GB, free: 76.99 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.06444, allocations: 4.25 kB / 1.061 GB, free: 76.99 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.0648, allocations: 251 kB / 1.061 GB, free: 76.93 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.06656, allocations: 1.086 MB / 1.062 GB, free: 76.62 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.06928, allocations: 2.936 MB / 1.065 GB, free: 75.26 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.06978, allocations: 0.8084 MB / 1.066 GB, free: 75.01 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.07009, allocations: 174.6 kB / 1.066 GB, free: 74.98 MB / 0.9948 GB Notification: Performance of SimCode: time 7.51e-07/0.07009, allocations: 0 / 1.066 GB, free: 74.98 MB / 0.9948 GB Notification: Performance of Templates: time 0.04288/0.113, allocations: 32.82 MB / 1.098 GB, free: 71.18 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.471629719249904]