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.008726/0.008726, allocations: 100.3 kB / 15.73 MB, free: 6.059 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.001742/0.001742, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.655/2.655, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.05 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005052/0.301, allocations: 3.767 MB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008299/0.3093, allocations: 4.881 MB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006153/0.31, allocations: 16 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.3139, allocations: 1.409 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.3159, allocations: 0.7898 MB / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.3178, allocations: 0.8456 MB / 1.178 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01877/0.3366, allocations: 12.79 MB / 1.19 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.3369, allocations: 97.73 kB / 1.19 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.338, allocations: 0.5801 MB / 1.191 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006911/0.3387, allocations: 0.5916 MB / 1.191 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.3389, allocations: 68 kB / 1.191 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.3403, allocations: 0.8306 MB / 1.192 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006594/0.341, allocations: 0.8026 MB / 1.193 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007799/0.3418, allocations: 0.8585 MB / 1.194 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.3445, allocations: 2.623 MB / 1.196 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3445, allocations: 0 / 1.196 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3445, allocations: 0 / 1.196 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.375e-05/0.3446, allocations: 0 / 1.196 GB, free: 8.234 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.004373/0.3489, allocations: 2.319 MB / 1.199 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.349, allocations: 8.031 kB / 1.199 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.082e-05/0.3491, allocations: 50.55 kB / 1.199 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.3518, allocations: 0.4983 MB / 1.199 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009607/0.3614, allocations: 5.65 MB / 1.205 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.3615, allocations: 27.98 kB / 1.205 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.3617, allocations: 32 kB / 1.205 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.3631, allocations: 0.6533 MB / 1.205 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3631, allocations: 0 / 1.205 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.3632, allocations: 8 kB / 1.205 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3632, allocations: 11.94 kB / 1.205 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.3648, allocations: 0.5269 MB / 1.206 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005327/0.3702, allocations: 2.316 MB / 1.208 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.372, allocations: 0.7013 MB / 1.209 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007885/0.3728, allocations: 280.7 kB / 1.209 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.3728, allocations: 15.91 kB / 1.209 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3729, allocations: 30.56 kB / 1.209 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/0.3729, allocations: 0 / 1.209 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.00331/0.3762, allocations: 1.042 MB / 1.21 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3763, allocations: 51.41 kB / 1.21 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004647/0.3809, allocations: 2.991 MB / 1.213 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.3811, allocations: 37.7 kB / 1.213 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000698/0.3818, allocations: 0.6845 MB / 1.214 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3819, allocations: 87.36 kB / 1.214 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004855/0.3824, allocations: 354.4 kB / 1.214 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.3825, allocations: 301.1 kB / 1.215 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.3843, allocations: 1.095 MB / 1.216 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.3862, allocations: 1.444 MB / 1.217 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.3896, allocations: 2.332 MB / 1.219 GB, free: 208 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.3896, allocations: 4 kB / 1.219 GB, free: 204 kB / 0.9669 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004576/0.3942, allocations: 2.739 MB / 1.222 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3943, allocations: 8 kB / 1.222 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3943, allocations: 8 kB / 1.222 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.3943, allocations: 12.03 kB / 1.222 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.3954, allocations: 259.6 kB / 1.222 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.3954, allocations: 12.11 kB / 1.222 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.3972, allocations: 226.7 kB / 1.223 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.3973, allocations: 71.98 kB / 1.223 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00214/0.3994, allocations: 1.397 MB / 1.224 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00174/0.4012, allocations: 1.292 MB / 1.225 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003115/0.4043, allocations: 2.019 MB / 1.227 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.081e-05/0.4044, allocations: 4 kB / 1.227 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004502/0.4089, allocations: 2.429 MB / 1.23 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4089, allocations: 16.02 kB / 1.23 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4089, allocations: 8 kB / 1.23 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.409, allocations: 12.12 kB / 1.23 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.41, allocations: 255.6 kB / 1.23 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/0.4101, allocations: 15.94 kB / 1.23 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.412, allocations: 191.5 kB / 1.23 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.4121, allocations: 71.97 kB / 1.23 GB, free: 4.953 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.0002937/0.4124, allocations: 224 kB / 1.23 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/0.4128, allocations: 182.7 kB / 1.231 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.415, allocations: 0.8143 MB / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.415, allocations: 4 kB / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.415, allocations: 0 / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.415, allocations: 0 / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.4165, allocations: 1.083 MB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.4166, allocations: 7.984 kB / 1.232 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.4171, allocations: 87.86 kB / 1.232 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4171, allocations: 0 / 1.232 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.4172, allocations: 15.98 kB / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4172, allocations: 0 / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4172, allocations: 0 / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.4191, allocations: 0.8716 MB / 1.233 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/0.4198, allocations: 379.6 kB / 1.234 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.4201, allocations: 8 kB / 1.234 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.4211, allocations: 91.81 kB / 1.234 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.4212, allocations: 27.97 kB / 1.234 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.4212, allocations: 15.98 kB / 1.234 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002782/0.424, allocations: 2.063 MB / 1.236 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.643e-06/0.424, allocations: 0 / 1.236 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001908/0.4259, allocations: 0.6947 MB / 1.237 GB, free: 14.27 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.002871/0.4288, allocations: 1.674 MB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004682/0.4335, allocations: 2.766 MB / 1.241 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4335, allocations: 0 / 1.241 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007816/0.4343, allocations: 301.1 kB / 1.241 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/0.4377, allocations: 0.9044 MB / 1.242 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5605/0.9982, allocations: 19.46 MB / 1.261 GB, free: 75.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.9993, allocations: 1.407 MB / 1.262 GB, free: 74.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001821/1.001, allocations: 0.5216 MB / 1.263 GB, free: 74.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009254/1.002, allocations: 0.6612 MB / 1.264 GB, free: 73.99 MB / 0.9981 GB Notification: Performance of SimCode: time 2.124e-06/1.002, allocations: 0 / 1.264 GB, free: 73.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09315/1.095, allocations: 54.82 MB / 1.317 GB, free: 51.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.19, allocations: 11.59 kB / 1.317 GB, free: 51.11 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