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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.83/2.83, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 68.75 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3252, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005573/0.3308, allocations: 3.761 MB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008413/0.3392, allocations: 4.885 MB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.34, allocations: 15.94 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.009947/0.35, allocations: 5.655 MB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.3522, allocations: 0.7764 MB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.3543, allocations: 0.8422 MB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01526/0.3696, allocations: 10.05 MB / 1.089 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.3699, allocations: 85.77 kB / 1.089 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009912/0.3709, allocations: 0.5529 MB / 1.09 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009136/0.3718, allocations: 0.5798 MB / 1.09 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.3721, allocations: 72 kB / 1.09 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.3745, allocations: 1.404 MB / 1.092 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007253/0.3752, allocations: 0.7986 MB / 1.092 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.3764, allocations: 0.8547 MB / 1.093 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003905/0.3803, allocations: 3.065 MB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3804, allocations: 0 / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3804, allocations: 4 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.819e-05/0.3805, allocations: 0 / 1.096 GB, free: 13.09 MB / 0.8575 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.004739/0.3852, allocations: 2.274 MB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3853, allocations: 16.03 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.922e-05/0.3853, allocations: 50.55 kB / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/0.3881, allocations: 493.1 kB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00883/0.3969, allocations: 5.47 MB / 1.104 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.397, allocations: 28.33 kB / 1.104 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.3971, allocations: 28 kB / 1.104 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.3985, allocations: 0.6689 MB / 1.105 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3985, allocations: 0 / 1.105 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.3985, allocations: 16 kB / 1.105 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3986, allocations: 4 kB / 1.105 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.4002, allocations: 0.5269 MB / 1.106 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005694/0.4059, allocations: 2.327 MB / 1.108 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.4076, allocations: 0.6947 MB / 1.109 GB, free: 292 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/0.4084, allocations: 284.6 kB / 1.109 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.4084, allocations: 8.047 kB / 1.109 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.4085, allocations: 34.56 kB / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 3.416e-06/0.4085, allocations: 0 / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.003104/0.4116, allocations: 1.025 MB / 1.11 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.4117, allocations: 63.33 kB / 1.11 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005068/0.4167, allocations: 2.948 MB / 1.113 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.4169, allocations: 41.69 kB / 1.113 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007631/0.4177, allocations: 0.6682 MB / 1.114 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.4178, allocations: 86.94 kB / 1.114 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007076/0.4185, allocations: 394.5 kB / 1.114 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4187, allocations: 305.1 kB / 1.114 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.4205, allocations: 1.178 MB / 1.115 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.4226, allocations: 1.539 MB / 1.117 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/0.4264, allocations: 2.473 MB / 1.119 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.4264, allocations: 0 / 1.119 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.005406/0.4319, allocations: 2.937 MB / 1.122 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.4319, allocations: 8 kB / 1.122 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.4319, allocations: 8 kB / 1.122 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/0.432, allocations: 16.03 kB / 1.122 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.4331, allocations: 287.6 kB / 1.123 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.4332, allocations: 15.94 kB / 1.123 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.435, allocations: 218.5 kB / 1.123 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.4352, allocations: 95.84 kB / 1.123 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002383/0.4376, allocations: 1.475 MB / 1.124 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001897/0.4395, allocations: 1.391 MB / 1.126 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003151/0.4426, allocations: 2.157 MB / 1.128 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.013e-05/0.4427, allocations: 7.938 kB / 1.128 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.004397/0.4471, allocations: 2.624 MB / 1.13 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4471, allocations: 13.44 kB / 1.13 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.4471, allocations: 8 kB / 1.13 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4472, allocations: 12 kB / 1.13 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.4483, allocations: 279.6 kB / 1.131 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.292e-05/0.4483, allocations: 15.94 kB / 1.131 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.4502, allocations: 187 kB / 1.131 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.4504, allocations: 79.97 kB / 1.131 GB, free: 8.934 MB / 0.8887 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.000391/0.4508, allocations: 235.9 kB / 1.131 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/0.4514, allocations: 169.7 kB / 1.131 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.4538, allocations: 0.8029 MB / 1.132 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.4538, allocations: 4 kB / 1.132 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.4539, allocations: 0 / 1.132 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4539, allocations: 0 / 1.132 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.4561, allocations: 1.099 MB / 1.133 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4561, allocations: 0 / 1.133 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.4567, allocations: 91.98 kB / 1.133 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4567, allocations: 0 / 1.133 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.4567, allocations: 12 kB / 1.133 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4568, allocations: 7.938 kB / 1.133 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4568, allocations: 3.984 kB / 1.133 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.459, allocations: 0.8633 MB / 1.134 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009577/0.46, allocations: 378.5 kB / 1.134 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/0.4605, allocations: 7.938 kB / 1.134 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.4617, allocations: 87.89 kB / 1.135 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.4618, allocations: 23.91 kB / 1.135 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.4619, allocations: 23.98 kB / 1.135 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003576/0.4655, allocations: 2.02 MB / 1.137 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4655, allocations: 0 / 1.137 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003912/0.4694, allocations: 0.8122 MB / 1.137 GB, free: 2.18 MB / 0.8887 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.004331/0.4737, allocations: 1.77 MB / 1.139 GB, free: 388 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005562/0.4793, allocations: 3.027 MB / 1.142 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4794, allocations: 4.25 kB / 1.142 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008031/0.4802, allocations: 290.6 kB / 1.142 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/0.4841, allocations: 0.8615 MB / 1.143 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03344/0.5176, allocations: 21.36 MB / 1.164 GB, free: 6.023 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.5187, allocations: 1.409 MB / 1.165 GB, free: 4.586 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002113/0.5209, allocations: 0.5138 MB / 1.166 GB, free: 4.066 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.522, allocations: 0.6594 MB / 1.167 GB, free: 3.406 MB / 0.92 GB Notification: Performance of SimCode: time 1.283e-06/0.522, allocations: 0 / 1.167 GB, free: 3.406 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/0.6257, allocations: 58.1 MB / 1.223 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.246/9.872, allocations: 7.125 kB / 1.223 GB, free: 10.02 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1)