Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001883/0.001883, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002578/0.002578, allocations: 213.3 kB / 22.25 MB, free: 4.855 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.789 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.309/3.309, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.QuinticHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.001985/0.001985, allocations: 74.92 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4062, allocations: 176.1 MB / 1.325 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002627/0.4089, allocations: 0.6355 MB / 1.326 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005957/0.4095, allocations: 183.7 kB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.4095, allocations: 0 / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.4095, allocations: 3.938 kB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.4097, allocations: 3.938 kB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.41, allocations: 71.75 kB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.373e-05/0.4101, allocations: 31.84 kB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.879e-05/0.4102, allocations: 4 kB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.4102, allocations: 15.92 kB / 1.326 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.4103, allocations: 27.91 kB / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.4103, allocations: 0 / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.4105, allocations: 55.88 kB / 1.326 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.4105, allocations: 4 kB / 1.326 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.4105, allocations: 7.938 kB / 1.326 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.4108, allocations: 91.94 kB / 1.326 GB, free: 1.211 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4108, allocations: 0 / 1.326 GB, free: 1.211 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4108, allocations: 7.938 kB / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.4108, allocations: 0 / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006483/0.4114, allocations: 294.1 kB / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4115, allocations: 8.031 kB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.4115, allocations: 38.73 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.4116, allocations: 4.938 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.4117, allocations: 122.4 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4118, allocations: 4.375 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.4118, allocations: 384 / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.412, allocations: 58.23 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.412, allocations: 3.938 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.412, allocations: 3.984 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.412, allocations: 4 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.4122, allocations: 31.97 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.4125, allocations: 212.1 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.4127, allocations: 74.39 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.4128, allocations: 20.94 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4128, allocations: 4 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.4129, allocations: 42.5 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4129, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.02711/0.44, allocations: 1.601 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.44, allocations: 55.41 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.4402, allocations: 125.7 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/0.4402, allocations: 29.7 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.4403, allocations: 88.14 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/0.4404, allocations: 31.73 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.4406, allocations: 29.66 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4407, allocations: 318.8 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.4412, allocations: 139.9 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.4417, allocations: 143.9 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.4427, allocations: 292.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4427, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001216/0.4439, allocations: 338 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.444, allocations: 9.406 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.444, allocations: 7.938 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.444, allocations: 96 / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.4455, allocations: 63.86 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4456, allocations: 4 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4469, allocations: 43.95 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.447, allocations: 7.984 kB / 1.33 GB, free: 12.8 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 (9): * Single equations (assignments): 9 * 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 0.0001859/0.4472, allocations: 118.2 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/0.4473, allocations: 8.422 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.4474, allocations: 16.38 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4474, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4474, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4474, allocations: 3.984 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005866/0.4533, allocations: 0.7391 MB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4533, allocations: 4 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.4544, allocations: 55.88 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4544, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.4545, allocations: 11.94 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4545, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.4545, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4555, allocations: 317.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.4555, allocations: 7.953 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/0.4556, allocations: 11.94 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.4566, allocations: 44 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.4567, allocations: 7.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.4567, allocations: 7.984 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.599e-05/0.4568, allocations: 91.28 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4568, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004092/0.4572, allocations: 99.92 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.001425/0.4586, allocations: 0.8586 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.4597, allocations: 251.9 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4597, allocations: 480 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.4601, allocations: 87.89 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.4604, allocations: 15.92 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006992/0.4674, allocations: 2.691 MB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.669e-05/0.4675, allocations: 67.34 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004429/0.4679, allocations: 51.98 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.4684, allocations: 19.42 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.4684, allocations: 4 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04695/0.5153, allocations: 11.29 MB / 1.347 GB, free: 11.79 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.28, allocations: 13.66 kB / 1.347 GB, free: 11.78 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable y from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! Error: Could not read variable dy in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv. Warning: Get data of variable dy from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.492911593057215]