Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.EulerComparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta1|eta2|P1|P2|eff1.dp|eff1.r_N",fileNamePrefix="Buildings_10_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_10_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.001872/0.001872, allocations: 103.7 kB / 16.27 MB, free: 6.355 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.002066/0.002067, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.525/2.525, allocations: 437 MB / 0.711 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 68.64 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3227, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005789/0.3285, allocations: 3.759 MB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008414/0.3369, allocations: 4.881 MB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008254/0.3378, allocations: 15.94 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.3481, allocations: 5.676 MB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.3504, allocations: 0.7693 MB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.3526, allocations: 0.8345 MB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01682/0.3695, allocations: 10.04 MB / 1.043 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.3699, allocations: 93.75 kB / 1.043 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.3712, allocations: 0.549 MB / 1.044 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.3724, allocations: 0.5915 MB / 1.045 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.3727, allocations: 68 kB / 1.045 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.3757, allocations: 1.4 MB / 1.046 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009208/0.3766, allocations: 0.7909 MB / 1.047 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.3781, allocations: 0.8391 MB / 1.048 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004628/0.3828, allocations: 2.987 MB / 1.05 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3828, allocations: 0 / 1.05 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.614e-06/0.3828, allocations: 0 / 1.05 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.317e-05/0.3829, allocations: 0 / 1.05 GB, free: 9.277 MB / 0.8262 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.005163/0.388, allocations: 2.231 MB / 1.053 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3881, allocations: 8.031 kB / 1.053 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.3907, allocations: 485.2 kB / 1.053 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/0.3955, allocations: 2.676 MB / 1.056 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.3956, allocations: 32.33 kB / 1.056 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.3958, allocations: 31.94 kB / 1.056 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.3972, allocations: 0.6456 MB / 1.056 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3973, allocations: 0 / 1.056 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.3973, allocations: 11.98 kB / 1.056 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3973, allocations: 12 kB / 1.056 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.3989, allocations: 0.523 MB / 1.057 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004776/0.4037, allocations: 2.244 MB / 1.059 GB, free: 192 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.4054, allocations: 0.6897 MB / 1.06 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/0.4062, allocations: 288.7 kB / 1.06 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.4062, allocations: 11.92 kB / 1.06 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4063, allocations: 30.56 kB / 1.06 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/0.4063, allocations: 0 / 1.06 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.002952/0.4093, allocations: 1.031 MB / 1.061 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4093, allocations: 55.41 kB / 1.061 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/0.414, allocations: 2.644 MB / 1.064 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.4142, allocations: 37.7 kB / 1.064 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008116/0.415, allocations: 0.6562 MB / 1.064 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.4152, allocations: 82.94 kB / 1.065 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007908/0.416, allocations: 390.5 kB / 1.065 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4161, allocations: 305.1 kB / 1.065 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.4181, allocations: 1.178 MB / 1.066 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.4203, allocations: 1.536 MB / 1.068 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003714/0.424, allocations: 2.478 MB / 1.07 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.4241, allocations: 0 / 1.07 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.004991/0.4291, allocations: 2.933 MB / 1.073 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.4291, allocations: 12.03 kB / 1.073 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4291, allocations: 4 kB / 1.073 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/0.4292, allocations: 16 kB / 1.073 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4303, allocations: 291.6 kB / 1.073 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.434e-05/0.4304, allocations: 16.05 kB / 1.073 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.4322, allocations: 218.8 kB / 1.074 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.4324, allocations: 87.97 kB / 1.074 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.5688/1.001, allocations: 1.475 MB / 1.075 GB, free: 60.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002336/1.004, allocations: 1.39 MB / 1.077 GB, free: 59.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003304/1.007, allocations: 2.164 MB / 1.079 GB, free: 59.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.315e-06/1.007, allocations: 2.25 kB / 1.079 GB, free: 59.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.004841/1.012, allocations: 2.625 MB / 1.081 GB, free: 58.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.012, allocations: 7.844 kB / 1.081 GB, free: 58.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/1.012, allocations: 7.188 kB / 1.081 GB, free: 58.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/1.012, allocations: 16.72 kB / 1.081 GB, free: 58.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.013, allocations: 274.4 kB / 1.082 GB, free: 58.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/1.013, allocations: 17.77 kB / 1.082 GB, free: 58.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.015, allocations: 179.9 kB / 1.082 GB, free: 58.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.015, allocations: 75.66 kB / 1.082 GB, free: 58.51 MB / 0.8419 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 (140): * Single equations (assignments): 134 * Array equations: 2 * 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.0002922/1.015, allocations: 239.3 kB / 1.082 GB, free: 58.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/1.016, allocations: 169.6 kB / 1.082 GB, free: 58.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/1.018, allocations: 0.8037 MB / 1.083 GB, free: 58 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.018, allocations: 2.438 kB / 1.083 GB, free: 58 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.018, allocations: 0 / 1.083 GB, free: 58 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/1.018, allocations: 1.938 kB / 1.083 GB, free: 58 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/1.02, allocations: 1.064 MB / 1.084 GB, free: 57.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.02, allocations: 0 / 1.084 GB, free: 57.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/1.021, allocations: 90.47 kB / 1.084 GB, free: 57.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/1.021, allocations: 0.8438 kB / 1.084 GB, free: 57.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/1.021, allocations: 12.77 kB / 1.084 GB, free: 57.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/1.021, allocations: 2.531 kB / 1.084 GB, free: 57.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.021, allocations: 0.8438 kB / 1.084 GB, free: 57.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/1.023, allocations: 0.86 MB / 1.085 GB, free: 57.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006849/1.024, allocations: 358.3 kB / 1.085 GB, free: 56.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/1.024, allocations: 5.531 kB / 1.085 GB, free: 56.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000977/1.025, allocations: 98.12 kB / 1.085 GB, free: 56.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/1.025, allocations: 18.41 kB / 1.085 GB, free: 56.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/1.025, allocations: 22.78 kB / 1.085 GB, free: 56.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003171/1.028, allocations: 1.785 MB / 1.087 GB, free: 56.19 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 0 / 1.087 GB, free: 56.19 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002968/1.031, allocations: 0.8042 MB / 1.088 GB, free: 56.14 MB / 0.8419 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.00144/1.033, allocations: 492.4 kB / 1.088 GB, free: 56.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005569/1.038, allocations: 3.03 MB / 1.091 GB, free: 55.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.038, allocations: 3.719 kB / 1.091 GB, free: 55.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000841/1.039, allocations: 295.9 kB / 1.092 GB, free: 55.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/1.043, allocations: 0.8674 MB / 1.093 GB, free: 54.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/1.049, allocations: 3.103 MB / 1.096 GB, free: 53.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.05, allocations: 1.4 MB / 1.097 GB, free: 52.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008064/1.051, allocations: 141.9 kB / 1.097 GB, free: 52.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.124e-06/1.051, allocations: 0 / 1.097 GB, free: 52.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.05798/1.109, allocations: 31.68 MB / 1.128 GB, free: 40.84 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches