Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.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.EulerCurve,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",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.001624/0.001624, allocations: 108 kB / 15.61 MB, free: 152 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.00195/0.00195, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.701/2.701, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6664, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.002241/0.6687, allocations: 0.5385 MB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.67, allocations: 0.6199 MB / 1.019 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.6701, allocations: 4 kB / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.6701, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.6702, allocations: 4 kB / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.6709, allocations: 167.5 kB / 1.019 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.671, allocations: 4 kB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.671, allocations: 3.984 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.671, allocations: 3.938 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.865e-05/0.6711, allocations: 8 kB / 1.019 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.6711, allocations: 0 / 1.019 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.6715, allocations: 191.7 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.6715, allocations: 7.984 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.6715, allocations: 4 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.6718, allocations: 123.7 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6718, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6718, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.6718, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004695/0.6723, allocations: 349.3 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6724, allocations: 8.031 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.6724, allocations: 38.73 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.6725, allocations: 8.844 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.6726, allocations: 168.4 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.6726, allocations: 4.312 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.6726, allocations: 384 / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.6727, allocations: 42.19 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.6728, allocations: 3.938 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.6728, allocations: 0 / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.6728, allocations: 4 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.506e-05/0.6728, allocations: 4 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.6732, allocations: 155.9 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.372e-05/0.6733, allocations: 38.55 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.6734, allocations: 8.859 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.6745, allocations: 0.6806 MB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.6746, allocations: 38.48 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.6746, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002205/0.6748, allocations: 53.61 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.6749, allocations: 55.41 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.6749, allocations: 89.86 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.675, allocations: 33.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.675, allocations: 80.14 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.675, allocations: 7.891 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.6751, allocations: 17.72 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6752, allocations: 314.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.6752, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.6753, allocations: 21.66 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.6753, allocations: 29.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6753, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.123e-05/0.6754, allocations: 49.55 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6755, allocations: 11.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6755, allocations: 3.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.6755, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.173e-05/0.6755, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.6756, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.6756, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.6756, allocations: 4.031 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.411e-05/0.6757, allocations: 113.8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.6757, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.6758, allocations: 64.97 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6758, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6759, allocations: 7.938 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6759, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.676, allocations: 149.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.676, allocations: 7.922 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.6761, allocations: 12 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.6761, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.6761, allocations: 3.938 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6761, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6761, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.6762, allocations: 73.06 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.6763, allocations: 81.09 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.6763, allocations: 7.938 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.6763, allocations: 8.094 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.6763, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.6763, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.468e-05/0.6764, allocations: 75.28 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6764, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002964/0.6767, allocations: 47.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (3): * Single equations (assignments): 3 * 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.0006185/0.6773, allocations: 0.6831 MB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.669e-05/0.6774, allocations: 19.92 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6774, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.6774, allocations: 8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.6776, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008864/0.6785, allocations: 1.108 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.6787, allocations: 0.6845 MB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.6787, allocations: 4 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.6787, allocations: 7.438 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of SimCode: time 7.51e-07/0.6788, allocations: 0 / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.6997, allocations: 2.082 MB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/8.213, allocations: 12.02 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches