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.001494/0.001494, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001637/0.001637, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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 2.968/2.968, allocations: 0.505 GB / 0.8108 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 68.84 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2958, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005402/0.3012, allocations: 3.805 MB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008244/0.3094, allocations: 5.001 MB / 1.363 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005201/0.31, allocations: 15.94 kB / 1.363 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003924/0.3139, allocations: 1.522 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.3158, allocations: 0.821 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.3176, allocations: 0.854 MB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01497/0.3326, allocations: 9.778 MB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.3328, allocations: 57.91 kB / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.3339, allocations: 0.5879 MB / 1.376 GB, free: 1.473 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008319/0.3347, allocations: 0.6422 MB / 1.377 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.3349, allocations: 72 kB / 1.377 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.3367, allocations: 0.928 MB / 1.378 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007966/0.3375, allocations: 0.8141 MB / 1.378 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008779/0.3384, allocations: 0.8508 MB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.3417, allocations: 2.576 MB / 1.382 GB, free: 11.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3417, allocations: 0 / 1.382 GB, free: 11.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3417, allocations: 0 / 1.382 GB, free: 11.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.3417, allocations: 0 / 1.382 GB, free: 11.57 MB / 1.076 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.004113/0.3458, allocations: 2.186 MB / 1.384 GB, free: 9.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3459, allocations: 12.03 kB / 1.384 GB, free: 9.328 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.3484, allocations: 490.4 kB / 1.384 GB, free: 8.848 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/0.353, allocations: 2.777 MB / 1.387 GB, free: 6.008 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.3531, allocations: 27.98 kB / 1.387 GB, free: 5.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.3531, allocations: 36 kB / 1.387 GB, free: 5.945 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.3544, allocations: 0.6502 MB / 1.388 GB, free: 5.289 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3544, allocations: 0 / 1.388 GB, free: 5.289 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.3544, allocations: 12 kB / 1.388 GB, free: 5.277 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3544, allocations: 4 kB / 1.388 GB, free: 5.273 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.3559, allocations: 0.5347 MB / 1.388 GB, free: 4.738 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003832/0.3597, allocations: 2.212 MB / 1.39 GB, free: 2.469 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3613, allocations: 0.6897 MB / 1.391 GB, free: 1.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/0.362, allocations: 280.6 kB / 1.391 GB, free: 1.492 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.362, allocations: 4 kB / 1.391 GB, free: 1.488 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.362, allocations: 38.5 kB / 1.391 GB, free: 1.441 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.3621, allocations: 0 / 1.391 GB, free: 1.441 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.002613/0.3647, allocations: 1.036 MB / 1.392 GB, free: 408 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3647, allocations: 59.34 kB / 1.393 GB, free: 336 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/0.3682, allocations: 2.684 MB / 1.395 GB, free: 13.61 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/0.3683, allocations: 37.7 kB / 1.395 GB, free: 13.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005991/0.3689, allocations: 0.6647 MB / 1.396 GB, free: 12.9 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.322e-05/0.369, allocations: 83.38 kB / 1.396 GB, free: 12.82 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.3694, allocations: 354.4 kB / 1.396 GB, free: 12.46 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3695, allocations: 305.1 kB / 1.397 GB, free: 12.16 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.3712, allocations: 1.107 MB / 1.398 GB, free: 11.05 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.3731, allocations: 1.467 MB / 1.399 GB, free: 9.469 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/0.3764, allocations: 2.349 MB / 1.401 GB, free: 7.027 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3764, allocations: 4 kB / 1.401 GB, free: 7.023 MB / 1.092 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004358/0.3808, allocations: 2.767 MB / 1.404 GB, free: 4.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3808, allocations: 8 kB / 1.404 GB, free: 4.242 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.3808, allocations: 8 kB / 1.404 GB, free: 4.234 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.3808, allocations: 12 kB / 1.404 GB, free: 4.223 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3819, allocations: 259.6 kB / 1.404 GB, free: 3.969 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.3819, allocations: 19.92 kB / 1.404 GB, free: 3.949 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.3834, allocations: 218.8 kB / 1.405 GB, free: 3.734 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.3836, allocations: 75.98 kB / 1.405 GB, free: 3.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002101/0.3857, allocations: 1.401 MB / 1.406 GB, free: 2.254 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001779/0.3874, allocations: 1.304 MB / 1.407 GB, free: 0.8359 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002965/0.3904, allocations: 2.041 MB / 1.409 GB, free: 14.7 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-05/0.3904, allocations: 7.938 kB / 1.409 GB, free: 14.7 MB / 1.107 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00414/0.3946, allocations: 2.446 MB / 1.412 GB, free: 12.24 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3946, allocations: 12.03 kB / 1.412 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3946, allocations: 8 kB / 1.412 GB, free: 12.22 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3946, allocations: 12 kB / 1.412 GB, free: 12.21 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009774/0.3956, allocations: 251.7 kB / 1.412 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.3956, allocations: 11.94 kB / 1.412 GB, free: 11.95 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.3972, allocations: 183.5 kB / 1.412 GB, free: 11.77 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.3973, allocations: 75.97 kB / 1.412 GB, free: 11.7 MB / 1.107 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.000283/0.3976, allocations: 235.8 kB / 1.412 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.3979, allocations: 178.7 kB / 1.413 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.3999, allocations: 0.8055 MB / 1.413 GB, free: 10.47 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3999, allocations: 4 kB / 1.413 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3999, allocations: 0 / 1.413 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3999, allocations: 3.938 kB / 1.413 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.4012, allocations: 1.027 MB / 1.414 GB, free: 9.391 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4012, allocations: 0 / 1.414 GB, free: 9.391 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.4018, allocations: 91.86 kB / 1.414 GB, free: 9.301 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4018, allocations: 0 / 1.414 GB, free: 9.301 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.4018, allocations: 16.11 kB / 1.414 GB, free: 9.285 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.4018, allocations: 4 kB / 1.414 GB, free: 9.281 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4018, allocations: 3.984 kB / 1.414 GB, free: 9.277 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.4035, allocations: 0.8851 MB / 1.415 GB, free: 8.375 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/0.4042, allocations: 286.5 kB / 1.416 GB, free: 8.094 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.4044, allocations: 7.984 kB / 1.416 GB, free: 8.086 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000888/0.4053, allocations: 83.89 kB / 1.416 GB, free: 8.004 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.4053, allocations: 19.97 kB / 1.416 GB, free: 7.984 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.4054, allocations: 20 kB / 1.416 GB, free: 7.965 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002497/0.4079, allocations: 1.827 MB / 1.418 GB, free: 6.121 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4079, allocations: 0 / 1.418 GB, free: 6.121 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001804/0.4097, allocations: 0.6792 MB / 1.418 GB, free: 5.441 MB / 1.107 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.0008075/0.4105, allocations: 386.5 kB / 1.419 GB, free: 5.055 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004365/0.4148, allocations: 2.56 MB / 1.421 GB, free: 2.492 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4148, allocations: 4.25 kB / 1.421 GB, free: 2.488 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007199/0.4156, allocations: 283.8 kB / 1.421 GB, free: 2.211 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.4186, allocations: 0.912 MB / 1.422 GB, free: 1.316 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.4232, allocations: 2.996 MB / 1.425 GB, free: 14.27 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.4243, allocations: 1.405 MB / 1.427 GB, free: 12.84 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.4249, allocations: 143.4 kB / 1.427 GB, free: 12.7 MB / 1.123 GB Notification: Performance of SimCode: time 9.12e-07/0.4249, allocations: 4 kB / 1.427 GB, free: 12.7 MB / 1.123 GB Notification: Performance of Templates: time 0.04583/0.4707, allocations: 30.87 MB / 1.457 GB, free: 14.12 MB / 1.154 GB " [Timeout remaining time 300] 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/jenkins1/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.396405802981462]