Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.EulerCurve,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_latest_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.007806/0.007806, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.001874/0.001874, allocations: 193.2 kB / 16.68 MB, free: 5.484 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 76.09 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2932, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001519/0.2948, allocations: 0.5251 MB / 1.242 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2959, allocations: 0.6346 MB / 1.243 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.206e-05/0.2959, allocations: 0 / 1.243 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.296, allocations: 4 kB / 1.243 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.296, allocations: 0 / 1.243 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.2966, allocations: 163.5 kB / 1.243 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.772e-05/0.2966, allocations: 8 kB / 1.243 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.2966, allocations: 3.984 kB / 1.243 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.2967, allocations: 7.938 kB / 1.243 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.76e-05/0.2967, allocations: 3.984 kB / 1.243 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.2967, allocations: 0 / 1.243 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.2971, allocations: 199.7 kB / 1.243 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.507e-06/0.2971, allocations: 0 / 1.243 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.2971, allocations: 3.984 kB / 1.243 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.2973, allocations: 131.6 kB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2974, allocations: 0 / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2974, allocations: 0 / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2974, allocations: 0 / 1.243 GB, free: 8.531 MB / 0.9981 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.0003575/0.2977, allocations: 351.2 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2978, allocations: 8.031 kB / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.2978, allocations: 34.75 kB / 1.243 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.2978, allocations: 8.891 kB / 1.243 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.298, allocations: 160.4 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.298, allocations: 384 / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.298, allocations: 4.375 kB / 1.244 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.3e-05/0.2981, allocations: 38.25 kB / 1.244 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2981, allocations: 3.938 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.2981, allocations: 0 / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2981, allocations: 0 / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/0.2982, allocations: 15.86 kB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.2984, allocations: 157.7 kB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.334e-05/0.2985, allocations: 30.58 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.2985, allocations: 8.859 kB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009395/0.2995, allocations: 0.6844 MB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.2995, allocations: 34.56 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.2995, allocations: 0 / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001395/0.2997, allocations: 53.56 kB / 1.245 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.2997, allocations: 51.41 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.2998, allocations: 89.86 kB / 1.245 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2998, allocations: 29.7 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.2998, allocations: 80.14 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.2999, allocations: 15.89 kB / 1.245 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.2999, allocations: 13.72 kB / 1.245 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3, allocations: 314.8 kB / 1.245 GB, free: 6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.3001, allocations: 4 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.3001, allocations: 17.7 kB / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.3002, allocations: 29.66 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3002, allocations: 0 / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.416e-05/0.3002, allocations: 53.69 kB / 1.245 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3003, allocations: 5.25 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3003, allocations: 4.266 kB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3003, allocations: 3.938 kB / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.42e-05/0.3003, allocations: 12 kB / 1.245 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3003, allocations: 3.938 kB / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.3004, allocations: 3.984 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.3004, allocations: 8.031 kB / 1.245 GB, free: 5.84 MB / 0.9981 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 7.777e-05/0.3005, allocations: 106.4 kB / 1.245 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-06/0.3005, allocations: 3.984 kB / 1.245 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.3006, allocations: 57.12 kB / 1.245 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3006, allocations: 0 / 1.245 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3006, allocations: 3.938 kB / 1.245 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3006, allocations: 3.938 kB / 1.246 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3008, allocations: 149.7 kB / 1.246 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3008, allocations: 4 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.3008, allocations: 4 kB / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3008, allocations: 0 / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3008, allocations: 7.938 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3008, allocations: 0 / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3008, allocations: 3.984 kB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.301, allocations: 73.11 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.301, allocations: 89.03 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.301, allocations: 3.938 kB / 1.246 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-06/0.3011, allocations: 4.062 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.3011, allocations: 0 / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3011, allocations: 4 kB / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.3011, allocations: 83.2 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3011, allocations: 0 / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002571/0.3014, allocations: 43.88 kB / 1.246 GB, free: 5.102 MB / 0.9981 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.0006226/0.302, allocations: 0.6826 MB / 1.247 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.257e-05/0.3021, allocations: 31.91 kB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3021, allocations: 0 / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.3021, allocations: 4 kB / 1.247 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.3023, allocations: 4 kB / 1.247 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/0.3032, allocations: 1.119 MB / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3035, allocations: 0.6768 MB / 1.248 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.3035, allocations: 7.938 kB / 1.248 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.3036, allocations: 7.438 kB / 1.248 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.3036, allocations: 0 / 1.248 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.3275, allocations: 2.117 MB / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.993, allocations: 13.56 kB / 1.251 GB, free: 408 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches