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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001267/0.001267, allocations: 101.8 kB / 16.35 MB, free: 5.875 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.00194/0.00194, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.396/2.396, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.31 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004854/0.2867, allocations: 3.768 MB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007137/0.2939, allocations: 4.875 MB / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.2944, allocations: 19.94 kB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008865/0.3033, allocations: 5.669 MB / 1.041 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.3051, allocations: 0.7664 MB / 1.041 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.3068, allocations: 0.85 MB / 1.042 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0174/0.3243, allocations: 12.76 MB / 1.055 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.3246, allocations: 101.7 kB / 1.055 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.3254, allocations: 0.5489 MB / 1.055 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006526/0.3261, allocations: 0.5759 MB / 1.056 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.3262, allocations: 71.94 kB / 1.056 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.3276, allocations: 0.8229 MB / 1.057 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005915/0.3282, allocations: 0.7948 MB / 1.058 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006852/0.3289, allocations: 0.8391 MB / 1.058 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.3312, allocations: 2.527 MB / 1.061 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3312, allocations: 0 / 1.061 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3312, allocations: 0 / 1.061 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.3312, allocations: 0 / 1.061 GB, free: 14.95 MB / 0.8419 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.003572/0.3348, allocations: 2.176 MB / 1.063 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3349, allocations: 8.031 kB / 1.063 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.3374, allocations: 485.3 kB / 1.063 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/0.3418, allocations: 2.738 MB / 1.066 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.3419, allocations: 24 kB / 1.066 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.3419, allocations: 32 kB / 1.066 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.3432, allocations: 0.6533 MB / 1.067 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3432, allocations: 0 / 1.067 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.3433, allocations: 8 kB / 1.067 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3433, allocations: 7.984 kB / 1.067 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3448, allocations: 0.5269 MB / 1.067 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.3487, allocations: 2.206 MB / 1.07 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.3503, allocations: 0.6974 MB / 1.07 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007287/0.3511, allocations: 282.2 kB / 1.07 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.3511, allocations: 11.92 kB / 1.07 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3511, allocations: 34.67 kB / 1.071 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.3511, allocations: 3.938 kB / 1.071 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.002664/0.3538, allocations: 1.024 MB / 1.072 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3539, allocations: 51.41 kB / 1.072 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/0.3571, allocations: 2.609 MB / 1.074 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.3572, allocations: 33.7 kB / 1.074 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005568/0.3578, allocations: 0.6761 MB / 1.075 GB, free: 404 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.3579, allocations: 75 kB / 1.075 GB, free: 328 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4498/0.8077, allocations: 352.3 kB / 1.075 GB, free: 54.37 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.8078, allocations: 302.1 kB / 1.076 GB, free: 54.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.8097, allocations: 1.091 MB / 1.077 GB, free: 54.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.8116, allocations: 1.446 MB / 1.078 GB, free: 53.76 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.8146, allocations: 2.327 MB / 1.08 GB, free: 52.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.8147, allocations: 6.375 kB / 1.08 GB, free: 52.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004431/0.8191, allocations: 2.733 MB / 1.083 GB, free: 52.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.8191, allocations: 9.125 kB / 1.083 GB, free: 52.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.8192, allocations: 6.344 kB / 1.083 GB, free: 52.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.8192, allocations: 12.19 kB / 1.083 GB, free: 52.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.8202, allocations: 258.9 kB / 1.083 GB, free: 52.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.8203, allocations: 19.14 kB / 1.083 GB, free: 52.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.8217, allocations: 217.5 kB / 1.083 GB, free: 52.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.8219, allocations: 79.45 kB / 1.084 GB, free: 52.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002256/0.8241, allocations: 1.391 MB / 1.085 GB, free: 51.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001728/0.8259, allocations: 1.29 MB / 1.086 GB, free: 50.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002811/0.8287, allocations: 2.02 MB / 1.088 GB, free: 50.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.513e-06/0.8287, allocations: 2.062 kB / 1.088 GB, free: 50.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00396/0.8327, allocations: 2.424 MB / 1.09 GB, free: 49.22 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8327, allocations: 9.266 kB / 1.09 GB, free: 49.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8327, allocations: 6.906 kB / 1.09 GB, free: 49.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.8327, allocations: 12.09 kB / 1.09 GB, free: 49.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.8338, allocations: 247.4 kB / 1.091 GB, free: 49.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/0.8338, allocations: 17.31 kB / 1.091 GB, free: 49.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.8354, allocations: 179.6 kB / 1.091 GB, free: 49.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.8355, allocations: 68.67 kB / 1.091 GB, free: 49.15 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 (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.000273/0.8358, allocations: 234.4 kB / 1.091 GB, free: 48.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.836, allocations: 168.6 kB / 1.091 GB, free: 48.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.8379, allocations: 0.8018 MB / 1.092 GB, free: 48.6 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8379, allocations: 6.578 kB / 1.092 GB, free: 48.6 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.838, allocations: 4.578 kB / 1.092 GB, free: 48.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.838, allocations: 3.812 kB / 1.092 GB, free: 48.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.8391, allocations: 1.053 MB / 1.093 GB, free: 48.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8391, allocations: 1.094 kB / 1.093 GB, free: 48.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.8397, allocations: 89.56 kB / 1.093 GB, free: 48.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8397, allocations: 2.125 kB / 1.093 GB, free: 48.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.8397, allocations: 14.73 kB / 1.093 GB, free: 48.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.8397, allocations: 4.938 kB / 1.093 GB, free: 48.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8397, allocations: 0.7969 kB / 1.093 GB, free: 48.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.8413, allocations: 0.855 MB / 1.094 GB, free: 47.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005891/0.8419, allocations: 356.1 kB / 1.094 GB, free: 47.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.8422, allocations: 6.781 kB / 1.094 GB, free: 47.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.8431, allocations: 91.69 kB / 1.095 GB, free: 47.45 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.8431, allocations: 19.02 kB / 1.095 GB, free: 47.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.8432, allocations: 17.36 kB / 1.095 GB, free: 47.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002244/0.8454, allocations: 1.773 MB / 1.096 GB, free: 46.78 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8454, allocations: 0 / 1.096 GB, free: 46.78 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001835/0.8473, allocations: 0.6745 MB / 1.097 GB, free: 46.73 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.0007443/0.848, allocations: 387.2 kB / 1.097 GB, free: 46.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004353/0.8524, allocations: 2.776 MB / 1.1 GB, free: 45.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8524, allocations: 1.156 kB / 1.1 GB, free: 45.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.8531, allocations: 296.3 kB / 1.1 GB, free: 45.67 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.8561, allocations: 0.8991 MB / 1.101 GB, free: 45.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.861, allocations: 2.959 MB / 1.104 GB, free: 44.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.862, allocations: 1.42 MB / 1.106 GB, free: 43.28 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001793/0.8638, allocations: 0.5201 MB / 1.106 GB, free: 43.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.8643, allocations: 139.6 kB / 1.106 GB, free: 43.11 MB / 0.8419 GB Notification: Performance of SimCode: time 6.81e-07/0.8643, allocations: 0 / 1.106 GB, free: 43.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.05432/0.9186, allocations: 38.54 MB / 1.144 GB, free: 20.38 MB / 0.8419 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 -s gbode -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/jenkins1/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