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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_10_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.008564/0.008564, allocations: 96.3 kB / 15.73 MB, free: 6.055 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.001991/0.001991, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.617/1.617, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.897/2.897, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3831, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.009901/0.3931, allocations: 3.753 MB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.4094, allocations: 4.885 MB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000893/0.4104, allocations: 15.94 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00674/0.4172, allocations: 1.398 MB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.4209, allocations: 0.7859 MB / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.4247, allocations: 0.8422 MB / 1.178 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.02857/0.4533, allocations: 12.8 MB / 1.19 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/0.4537, allocations: 89.75 kB / 1.19 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.455, allocations: 0.5606 MB / 1.191 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.4563, allocations: 0.5876 MB / 1.191 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003154/0.4567, allocations: 68 kB / 1.191 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.4587, allocations: 0.8345 MB / 1.192 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009774/0.4597, allocations: 0.7987 MB / 1.193 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.4613, allocations: 0.8624 MB / 1.194 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003886/0.4652, allocations: 2.622 MB / 1.196 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4652, allocations: 0 / 1.196 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4652, allocations: 4 kB / 1.196 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.869e-05/0.4653, allocations: 0 / 1.196 GB, free: 8.293 MB / 0.9512 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.004688/0.4699, allocations: 2.316 MB / 1.199 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.47, allocations: 19.95 kB / 1.199 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.647e-05/0.4701, allocations: 50.55 kB / 1.199 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.4727, allocations: 494.3 kB / 1.199 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.4828, allocations: 5.654 MB / 1.205 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.4829, allocations: 24 kB / 1.205 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/0.483, allocations: 28 kB / 1.205 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.4844, allocations: 0.6572 MB / 1.205 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4844, allocations: 0 / 1.205 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.4845, allocations: 15.98 kB / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4845, allocations: 4 kB / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.4862, allocations: 0.5269 MB / 1.206 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.4908, allocations: 2.32 MB / 1.208 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.4927, allocations: 0.6974 MB / 1.209 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.4935, allocations: 288.6 kB / 1.209 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.4936, allocations: 7.984 kB / 1.209 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.4936, allocations: 34.56 kB / 1.209 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 2.275e-06/0.4936, allocations: 0 / 1.209 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.003109/0.4967, allocations: 1.045 MB / 1.21 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4968, allocations: 55.41 kB / 1.21 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004775/0.5016, allocations: 2.979 MB / 1.213 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.5018, allocations: 41.7 kB / 1.213 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007436/0.5025, allocations: 0.6845 MB / 1.214 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.5027, allocations: 87.36 kB / 1.214 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005387/0.5032, allocations: 350.4 kB / 1.214 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5034, allocations: 305.1 kB / 1.215 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.5053, allocations: 1.095 MB / 1.216 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.5075, allocations: 1.448 MB / 1.217 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.5113, allocations: 2.328 MB / 1.219 GB, free: 272 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.5113, allocations: 4 kB / 1.219 GB, free: 268 kB / 0.9669 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004937/0.5162, allocations: 2.739 MB / 1.222 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.5163, allocations: 10.34 kB / 1.222 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.5163, allocations: 8 kB / 1.222 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.949e-05/0.5164, allocations: 12 kB / 1.222 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.5175, allocations: 259.6 kB / 1.222 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.5175, allocations: 15.98 kB / 1.222 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.5193, allocations: 214.8 kB / 1.222 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.5194, allocations: 75.98 kB / 1.223 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002391/0.5218, allocations: 1.407 MB / 1.224 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002001/0.5239, allocations: 1.296 MB / 1.225 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00333/0.5272, allocations: 2.015 MB / 1.227 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.023e-05/0.5272, allocations: 7.938 kB / 1.227 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004553/0.5318, allocations: 2.441 MB / 1.23 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.5319, allocations: 8 kB / 1.23 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5319, allocations: 4 kB / 1.23 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.464e-05/0.532, allocations: 12 kB / 1.23 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.5331, allocations: 247.7 kB / 1.23 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/0.5331, allocations: 15.94 kB / 1.23 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.535, allocations: 195.5 kB / 1.23 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.5351, allocations: 63.98 kB / 1.23 GB, free: 5.02 MB / 0.9825 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.0002992/0.5354, allocations: 231.9 kB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.5357, allocations: 182.7 kB / 1.23 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.538, allocations: 0.8091 MB / 1.231 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.538, allocations: 0 / 1.231 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.538, allocations: 0 / 1.231 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.538, allocations: 3.984 kB / 1.231 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.5397, allocations: 1.083 MB / 1.232 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.5397, allocations: 0 / 1.232 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.5402, allocations: 87.86 kB / 1.232 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.5403, allocations: 4 kB / 1.232 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.5403, allocations: 12.11 kB / 1.232 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.5403, allocations: 8 kB / 1.232 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5403, allocations: 3.938 kB / 1.232 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.5424, allocations: 0.8765 MB / 1.233 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.5431, allocations: 375.6 kB / 1.234 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.5433, allocations: 4 kB / 1.234 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009998/0.5443, allocations: 99.86 kB / 1.234 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.5444, allocations: 15.98 kB / 1.234 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/0.5444, allocations: 19.92 kB / 1.234 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003322/0.5478, allocations: 2.071 MB / 1.236 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5478, allocations: 4 kB / 1.236 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001963/0.5498, allocations: 0.6831 MB / 1.236 GB, free: 14.33 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.003109/0.5529, allocations: 1.673 MB / 1.238 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005092/0.558, allocations: 2.768 MB / 1.241 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.558, allocations: 0 / 1.241 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008133/0.5588, allocations: 298.9 kB / 1.241 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.5623, allocations: 0.9052 MB / 1.242 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5798/1.142, allocations: 19.46 MB / 1.261 GB, free: 75.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.143, allocations: 1.411 MB / 1.262 GB, free: 74.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001815/1.145, allocations: 0.5244 MB / 1.263 GB, free: 74.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008229/1.146, allocations: 0.6606 MB / 1.264 GB, free: 73.94 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.146, allocations: 3.125 kB / 1.264 GB, free: 73.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09439/1.24, allocations: 54.8 MB / 1.317 GB, free: 51.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/14.15, allocations: 17.92 kB / 1.317 GB, free: 51.16 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.csv","/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