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.006834/0.006834, allocations: 99.42 kB / 15.73 MB, free: 6.039 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.001532/0.001532, allocations: 202 kB / 16.68 MB, free: 5.965 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.621/2.621, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3122, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.0018/0.3141, allocations: 0.5368 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3155, allocations: 0.6358 MB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.3155, allocations: 0 / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.3155, allocations: 3.938 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.039e-05/0.3156, allocations: 0 / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3167, allocations: 167.5 kB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.979e-05/0.3167, allocations: 4 kB / 1.167 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.3168, allocations: 3.984 kB / 1.167 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.461e-05/0.3168, allocations: 8 kB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.6e-05/0.3169, allocations: 0 / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3169, allocations: 4 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005445/0.3175, allocations: 195.7 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.3175, allocations: 4 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.3175, allocations: 4 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.3179, allocations: 124 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3179, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3179, allocations: 3.938 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3179, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 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.0004503/0.3184, allocations: 355.1 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.3185, allocations: 16.03 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.3185, allocations: 30.75 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.3186, allocations: 4.891 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3187, allocations: 160.4 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3187, allocations: 384 / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.3187, allocations: 4.375 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3189, allocations: 38.25 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3189, allocations: 3.938 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3189, allocations: 0 / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3189, allocations: 0 / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.44e-05/0.319, allocations: 15.97 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.3193, allocations: 153.6 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/0.3194, allocations: 34.61 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.3194, allocations: 8.859 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009077/0.3204, allocations: 0.6844 MB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3204, allocations: 34.56 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3204, allocations: 0 / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001528/0.3206, allocations: 53.56 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.3206, allocations: 55.41 kB / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.741e-05/0.3207, allocations: 89.86 kB / 1.169 GB, free: 3.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3207, allocations: 25.7 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.3207, allocations: 80.14 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.3207, allocations: 19.83 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.3208, allocations: 17.66 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3209, allocations: 314.8 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.3209, allocations: 4 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.3209, allocations: 21.7 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/0.321, allocations: 25.66 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.321, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.65e-05/0.3211, allocations: 49.69 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3211, allocations: 5.875 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.3211, allocations: 3.938 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3212, allocations: 4 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.3212, allocations: 7.938 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3212, allocations: 4.031 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.3212, allocations: 3.938 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3212, allocations: 8 kB / 1.17 GB, free: 2.902 MB / 0.92 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 6.983e-05/0.3213, allocations: 109.8 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-06/0.3213, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3214, allocations: 53.12 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3214, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3215, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3215, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.3216, allocations: 157.7 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3216, allocations: 0 / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.3217, allocations: 11.94 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3217, allocations: 4 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3217, allocations: 3.938 kB / 1.17 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3217, allocations: 0 / 1.17 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3217, allocations: 0 / 1.17 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.3218, allocations: 81.5 kB / 1.17 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.3219, allocations: 85.12 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.3219, allocations: 3.938 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.044e-05/0.3219, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.322, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.322, allocations: 4 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.322, allocations: 75.28 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.515e-06/0.322, allocations: 0 / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002864/0.3223, allocations: 51.8 kB / 1.171 GB, free: 2.168 MB / 0.92 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.0006362/0.3229, allocations: 0.6903 MB / 1.171 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.3231, allocations: 15.92 kB / 1.171 GB, free: 1.43 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3231, allocations: 0 / 1.171 GB, free: 1.43 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.3231, allocations: 12 kB / 1.171 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.3232, allocations: 0 / 1.171 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.3242, allocations: 1.119 MB / 1.172 GB, free: 216 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3244, allocations: 0.6729 MB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.3245, allocations: 4 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.3245, allocations: 7.438 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3245, allocations: 0 / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.3448, allocations: 2.114 MB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.674, allocations: 12.58 kB / 1.175 GB, free: 13.47 MB / 0.9356 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