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.001974/0.001974, allocations: 104 kB / 16.45 MB, free: 6.449 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.002365/0.002365, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.297/3.297, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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.002079/0.002079, allocations: 74.86 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3949, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002099/0.397, allocations: 0.6293 MB / 1.321 GB, free: 2.672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.3975, allocations: 203.5 kB / 1.322 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.3975, allocations: 4 kB / 1.322 GB, free: 2.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.3975, allocations: 3.938 kB / 1.322 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.3977, allocations: 7.938 kB / 1.322 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3979, allocations: 75.73 kB / 1.322 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.206e-05/0.398, allocations: 27.92 kB / 1.322 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.398, allocations: 0 / 1.322 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.3981, allocations: 23.91 kB / 1.322 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.3982, allocations: 15.92 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3982, allocations: 4 kB / 1.322 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.3984, allocations: 115.7 kB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.3984, allocations: 15.91 kB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.3984, allocations: 11.94 kB / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3986, allocations: 103.9 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3986, allocations: 0 / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3986, allocations: 0 / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.3986, allocations: 0 / 1.322 GB, free: 2.07 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.0006241/0.3992, allocations: 371.2 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3993, allocations: 15.98 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.3993, allocations: 34.75 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.3993, allocations: 4.938 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.3995, allocations: 180.2 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.3995, allocations: 384 / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3996, allocations: 4.375 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3997, allocations: 54.23 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3997, allocations: 3.938 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3998, allocations: 3.984 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3998, allocations: 3.938 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3999, allocations: 35.97 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.4002, allocations: 245 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.4005, allocations: 66.47 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.282e-05/0.4005, allocations: 28.94 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.4006, allocations: 3.984 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4006, allocations: 38.5 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4006, allocations: 0 / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.02928/0.4299, allocations: 1.613 MB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.4299, allocations: 51.41 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4301, allocations: 121.7 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.973e-05/0.4302, allocations: 29.7 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.4302, allocations: 96.06 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/0.4303, allocations: 15.81 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.4305, allocations: 29.7 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4307, allocations: 322.8 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.4312, allocations: 139.9 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.4318, allocations: 143.9 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.4329, allocations: 300.7 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4329, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001274/0.4341, allocations: 337.5 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4342, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.4342, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4342, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.4358, allocations: 63.94 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4359, allocations: 4.719 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.4373, allocations: 47.95 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.4374, allocations: 7.984 kB / 1.326 GB, free: 13.47 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.0001996/0.4376, allocations: 117.8 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.4377, allocations: 7.938 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.4378, allocations: 16.38 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4378, allocations: 4.422 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4378, allocations: 7.938 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4378, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/0.444, allocations: 0.8454 MB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.444, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.4453, allocations: 51.94 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.4453, allocations: 3.984 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.4453, allocations: 11.92 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4453, allocations: 0 / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4453, allocations: 0 / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4464, allocations: 325.1 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.4465, allocations: 85.06 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.4466, allocations: 3.938 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.4477, allocations: 48.02 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.4477, allocations: 11.98 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.4478, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.626e-05/0.4479, allocations: 91.27 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4479, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004461/0.4483, allocations: 95.94 kB / 1.328 GB, free: 11.64 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.001549/0.4499, allocations: 0.8662 MB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.4509, allocations: 243.8 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.451, allocations: 0 / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004474/0.4514, allocations: 95.88 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.4517, allocations: 8 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007399/0.4591, allocations: 2.678 MB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.4594, allocations: 0.6846 MB / 1.332 GB, free: 6.918 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004407/0.4599, allocations: 52 kB / 1.333 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.4604, allocations: 31.36 kB / 1.333 GB, free: 6.84 MB / 1.029 GB Notification: Performance of SimCode: time 7.52e-07/0.4604, allocations: 3.938 kB / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/0.4986, allocations: 9.808 MB / 1.342 GB, free: 13.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/8.897, allocations: 7.172 kB / 1.342 GB, free: 13.07 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.93268667603843]