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.00842/0.00842, allocations: 100.8 kB / 15.73 MB, free: 5.98 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.001992/0.001993, allocations: 201.6 kB / 16.68 MB, free: 5.906 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.018, 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.004868/1.023, allocations: 3.766 MB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009726/1.033, allocations: 4.88 MB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006528/1.033, allocations: 15.94 kB / 1.216 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00432/1.038, allocations: 1.405 MB / 1.218 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/1.04, allocations: 0.7781 MB / 1.218 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/1.042, allocations: 0.8462 MB / 1.219 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0175/1.059, allocations: 12.8 MB / 1.232 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/1.059, allocations: 93.75 kB / 1.232 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/1.061, allocations: 0.5802 MB / 1.232 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007184/1.061, allocations: 0.5954 MB / 1.233 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/1.061, allocations: 68 kB / 1.233 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/1.063, allocations: 0.8267 MB / 1.234 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006178/1.064, allocations: 0.8026 MB / 1.235 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006898/1.064, allocations: 0.843 MB / 1.235 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/1.067, allocations: 2.531 MB / 1.238 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.067, allocations: 4 kB / 1.238 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/1.067, allocations: 0 / 1.238 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.72e-05/1.067, allocations: 0 / 1.238 GB, free: 14.75 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.003799/1.071, allocations: 2.192 MB / 1.24 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.071, allocations: 12.03 kB / 1.24 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/1.073, allocations: 489.2 kB / 1.24 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/1.078, allocations: 2.812 MB / 1.243 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/1.078, allocations: 27.94 kB / 1.243 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/1.078, allocations: 35.98 kB / 1.243 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/1.079, allocations: 0.6573 MB / 1.244 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.079, allocations: 0 / 1.244 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/1.079, allocations: 8 kB / 1.244 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/1.079, allocations: 4 kB / 1.244 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/1.081, allocations: 0.5347 MB / 1.244 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/1.085, allocations: 2.225 MB / 1.247 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/1.086, allocations: 0.7013 MB / 1.247 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007433/1.087, allocations: 284.7 kB / 1.248 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/1.087, allocations: 7.922 kB / 1.248 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/1.087, allocations: 34.56 kB / 1.248 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.943e-06/1.087, allocations: 0 / 1.248 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.002619/1.09, allocations: 1.022 MB / 1.249 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/1.09, allocations: 55.41 kB / 1.249 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/1.093, allocations: 2.676 MB / 1.251 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.105e-05/1.093, allocations: 33.7 kB / 1.251 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005907/1.094, allocations: 0.6761 MB / 1.252 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/1.094, allocations: 78.89 kB / 1.252 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005596/1.094, allocations: 358.2 kB / 1.252 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.095, allocations: 301.1 kB / 1.253 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/1.096, allocations: 1.091 MB / 1.254 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/1.098, allocations: 1.444 MB / 1.255 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/1.102, allocations: 2.321 MB / 1.257 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/1.102, allocations: 11.88 kB / 1.257 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004666/1.106, allocations: 2.734 MB / 1.26 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.107, allocations: 8 kB / 1.26 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.107, allocations: 4 kB / 1.26 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/1.107, allocations: 12 kB / 1.26 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/1.108, allocations: 259.7 kB / 1.26 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/1.108, allocations: 19.92 kB / 1.26 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/1.11, allocations: 218.4 kB / 1.261 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.11, allocations: 75.98 kB / 1.261 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002265/1.112, allocations: 1.393 MB / 1.262 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001815/1.114, allocations: 1.288 MB / 1.263 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002973/1.117, allocations: 2.023 MB / 1.265 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/1.117, allocations: 3.984 kB / 1.265 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.0043/1.121, allocations: 2.42 MB / 1.268 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.121, allocations: 12.03 kB / 1.268 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.121, allocations: 8 kB / 1.268 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.121, allocations: 8.125 kB / 1.268 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/1.122, allocations: 259.6 kB / 1.268 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.122, allocations: 19.88 kB / 1.268 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.124, allocations: 175.7 kB / 1.268 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.124, allocations: 67.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.0003379/1.124, allocations: 231.9 kB / 1.268 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/1.125, allocations: 169.7 kB / 1.269 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/1.127, allocations: 0.8195 MB / 1.269 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.127, allocations: 0 / 1.269 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.127, allocations: 0 / 1.269 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.127, allocations: 0 / 1.269 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/1.128, allocations: 1.043 MB / 1.27 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.128, allocations: 0 / 1.27 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/1.129, allocations: 91.92 kB / 1.27 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.129, allocations: 3.938 kB / 1.27 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/1.129, allocations: 11.98 kB / 1.27 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/1.129, allocations: 7.938 kB / 1.27 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.129, allocations: 3.984 kB / 1.27 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/1.131, allocations: 0.8604 MB / 1.271 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007424/1.132, allocations: 358.6 kB / 1.272 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/1.132, allocations: 4 kB / 1.272 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/1.133, allocations: 83.89 kB / 1.272 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/1.133, allocations: 23.98 kB / 1.272 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/1.133, allocations: 15.98 kB / 1.272 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002544/1.136, allocations: 1.827 MB / 1.274 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.136, allocations: 0 / 1.274 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001922/1.138, allocations: 0.6833 MB / 1.274 GB, free: 8.621 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.0007985/1.138, allocations: 386.8 kB / 1.275 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004673/1.143, allocations: 2.767 MB / 1.277 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.143, allocations: 64 / 1.277 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007647/1.144, allocations: 295.8 kB / 1.278 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/1.147, allocations: 0.9036 MB / 1.278 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/1.152, allocations: 2.864 MB / 1.281 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.153, allocations: 1.424 MB / 1.283 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001569/1.154, allocations: 0.5101 MB / 1.283 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/1.155, allocations: 143.3 kB / 1.283 GB, free: 15.28 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.155, allocations: 0 / 1.283 GB, free: 15.28 MB / 1.014 GB Notification: Performance of Templates: time 0.06378/1.219, allocations: 39.57 MB / 1.322 GB, free: 8.352 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