Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001352/0.001352, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001453/0.001453, allocations: 220.6 kB / 22.25 MB, free: 5.258 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.793 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.292/3.292, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.SmoothInterpolation,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.002077/0.002077, allocations: 68.11 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3712, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001858/0.3731, allocations: 0.6165 MB / 1.326 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3751, allocations: 1.436 MB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.3752, allocations: 3.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.873e-05/0.3752, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.568e-05/0.3752, allocations: 7.938 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.376, allocations: 220.5 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.441e-05/0.3761, allocations: 35.91 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.3761, allocations: 4.219 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.3762, allocations: 19.97 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.3762, allocations: 23.91 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3762, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.3767, allocations: 275.6 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.778e-05/0.3767, allocations: 7.984 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.3768, allocations: 19.88 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.3771, allocations: 223.3 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.3771, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3771, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3771, allocations: 0 / 1.329 GB, free: 14.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004305/0.3775, allocations: 327.6 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3776, allocations: 8.031 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.3776, allocations: 34.75 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.3776, allocations: 4.938 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3777, allocations: 118.5 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3778, allocations: 8.375 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3778, allocations: 384 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3779, allocations: 111.4 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.378, allocations: 0 / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.378, allocations: 7.938 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.378, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.727e-05/0.3781, allocations: 69.67 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.3782, allocations: 132.7 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.3783, allocations: 80.25 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.3784, allocations: 74.56 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.3784, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3784, allocations: 38.5 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.3784, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003698/0.3788, allocations: 258.6 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.3789, allocations: 81.11 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.379, allocations: 113.8 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.379, allocations: 29.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.379, allocations: 84.14 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.3791, allocations: 20 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.3791, allocations: 25.7 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3793, allocations: 314.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/0.3793, allocations: 73.64 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.3794, allocations: 65.67 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.3796, allocations: 152.8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3796, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002225/0.3798, allocations: 192.9 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.3799, allocations: 43.41 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3799, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3799, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.3799, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3799, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.38, allocations: 7.938 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.38, allocations: 16.05 kB / 1.331 GB, free: 11.89 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001139/0.3801, allocations: 148.1 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.3802, allocations: 11.89 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/0.3802, allocations: 8.375 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3802, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3802, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3802, allocations: 3.938 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.3803, allocations: 132.7 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3803, allocations: 0 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-06/0.3803, allocations: 3.938 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3803, allocations: 4 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3803, allocations: 7.938 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3803, allocations: 0 / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3803, allocations: 0 / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3806, allocations: 232.4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.3806, allocations: 15.88 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3806, allocations: 4 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.3807, allocations: 4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.3807, allocations: 4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3807, allocations: 7.984 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.3807, allocations: 91.27 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3807, allocations: 4.031 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003218/0.3811, allocations: 75.88 kB / 1.332 GB, free: 11.05 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007462/0.3818, allocations: 0.8225 MB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.3821, allocations: 226.7 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3821, allocations: 0 / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3822, allocations: 149 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.3824, allocations: 5.891 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.3829, allocations: 256 kB / 1.333 GB, free: 9.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.472e-05/0.3829, allocations: 79.42 kB / 1.333 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.68e-06/0.3829, allocations: 0 / 1.333 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.383, allocations: 19.38 kB / 1.333 GB, free: 9.363 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.383, allocations: 0 / 1.333 GB, free: 9.363 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.4135, allocations: 3.694 MB / 1.337 GB, free: 5.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 9.469 kB / 1.337 GB, free: 5.809 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable yMonotone in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable yMonotone from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! Error: Could not read variable y2Monotone in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable y2Monotone from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.579574922012398]