Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 222.3 kB / 22.25 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 0.49 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.16 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3712, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002943/0.3741, allocations: 1.523 MB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3755, allocations: 0.7167 MB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.3755, allocations: 4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.3757, allocations: 131.7 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.3759, allocations: 71.83 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.3765, allocations: 200.2 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.3766, allocations: 59.88 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.3767, allocations: 4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.3767, allocations: 35.89 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3769, allocations: 91.81 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3769, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004605/0.3773, allocations: 247.6 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3775, allocations: 67.75 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.3775, allocations: 43.62 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.3779, allocations: 279 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3779, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3779, allocations: 3.938 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3779, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 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.0007188/0.3786, allocations: 448.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3787, allocations: 8.031 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.3787, allocations: 34.75 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.3788, allocations: 20.8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.379, allocations: 210.6 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.379, allocations: 8.375 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3791, allocations: 4.312 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3793, allocations: 77.78 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3793, allocations: 4 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3793, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3793, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.3795, allocations: 83.94 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.3801, allocations: 359.8 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3803, allocations: 94.47 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3804, allocations: 48.88 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.3805, allocations: 15.98 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.3805, allocations: 34.56 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.3805, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004689/0.381, allocations: 185.4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.381, allocations: 51.41 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.3814, allocations: 356.4 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.3815, allocations: 29.7 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3816, allocations: 136.1 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.3816, allocations: 11.94 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.3816, allocations: 21.72 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3818, allocations: 342.8 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.382, allocations: 95.94 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3821, allocations: 96.08 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.3824, allocations: 208.7 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3824, allocations: 0 / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003796/0.3828, allocations: 251.9 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3828, allocations: 7.984 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3828, allocations: 4 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3828, allocations: 7.938 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.3829, allocations: 11.94 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3829, allocations: 0 / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.383, allocations: 19.88 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.383, allocations: 0 / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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 0.000127/0.3831, allocations: 151.8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3832, allocations: 23.81 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.3835, allocations: 138.7 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3835, allocations: 8.031 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3835, allocations: 3.984 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3835, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.3837, allocations: 204.6 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3837, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.3838, allocations: 15.92 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3838, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3838, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3838, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3838, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3841, allocations: 243.3 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.3842, allocations: 27.84 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3842, allocations: 0 / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3843, allocations: 4 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.3843, allocations: 3.984 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.3843, allocations: 0 / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002518/0.3846, allocations: 251 kB / 1.333 GB, free: 9.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3846, allocations: 0 / 1.333 GB, free: 9.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003878/0.385, allocations: 71.86 kB / 1.333 GB, free: 9.406 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.0008201/0.3858, allocations: 0.8215 MB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.3861, allocations: 143.9 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3861, allocations: 4 kB / 1.334 GB, free: 8.414 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3862, allocations: 51.92 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3866, allocations: 18.31 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.3897, allocations: 2.727 MB / 1.337 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.3898, allocations: 123.2 kB / 1.337 GB, free: 5.406 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.3898, allocations: 16.48 kB / 1.337 GB, free: 5.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.3899, allocations: 55.42 kB / 1.337 GB, free: 5.336 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3899, allocations: 0 / 1.337 GB, free: 5.336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.4225, allocations: 4.877 MB / 1.342 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.83, allocations: 13.83 kB / 1.342 GB, free: 0.6094 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.88461726400419]