Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001821/0.001821, 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.001699/0.001699, allocations: 217.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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.389/3.389, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.002093/0.002093, allocations: 67.66 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4808, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001954/0.4828, allocations: 0.6327 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.4849, allocations: 1.377 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.4849, allocations: 3.938 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.027e-05/0.485, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.485, allocations: 4 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.4857, allocations: 190.5 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.4859, allocations: 39.97 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.4859, allocations: 12.2 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.4859, allocations: 19.98 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.4861, allocations: 27.89 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.4861, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.4865, allocations: 203.7 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.4865, allocations: 19.92 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.4866, allocations: 15.92 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.4869, allocations: 195.4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4869, allocations: 7.875 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4869, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.4869, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005299/0.4874, allocations: 365.3 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4875, allocations: 15.97 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.4875, allocations: 30.75 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.4876, allocations: 8.891 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4877, allocations: 122.4 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.4877, allocations: 4.375 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.4877, allocations: 4.375 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.488, allocations: 127.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.488, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.488, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.488, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.4881, allocations: 93.59 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.4883, allocations: 148.7 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.4884, allocations: 104.2 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.4885, allocations: 98.58 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.4886, allocations: 4 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4886, allocations: 38.5 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4886, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000477/0.4891, allocations: 314.5 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.4891, allocations: 85.11 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.4893, allocations: 140.5 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4893, allocations: 29.7 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.4894, allocations: 92.09 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.4894, allocations: 11.84 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.4894, allocations: 29.7 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4896, allocations: 326.9 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.4898, allocations: 167.3 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.49, allocations: 167.3 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.4903, allocations: 289.9 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4903, allocations: 4 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004419/0.4908, allocations: 396.2 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.4908, allocations: 75.38 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4908, allocations: 0 / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4908, allocations: 0 / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.4908, allocations: 0 / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4909, allocations: 0 / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.491, allocations: 12.02 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.4911, allocations: 8.078 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001377/0.4912, allocations: 155.5 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.4913, allocations: 19.81 kB / 1.369 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.4913, allocations: 8.344 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4913, allocations: 0 / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4913, allocations: 0 / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4913, allocations: 0 / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.4914, allocations: 144.7 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4914, allocations: 3.938 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.4914, allocations: 4 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4914, allocations: 0 / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4914, allocations: 4 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4914, allocations: 0 / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4914, allocations: 0 / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.4918, allocations: 261.4 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.4918, allocations: 19.81 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.4918, allocations: 0 / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.53e-05/0.4919, allocations: 4 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.4919, allocations: 11.98 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.4919, allocations: 4 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.837e-05/0.492, allocations: 107.3 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.492, allocations: 0 / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003114/0.4923, allocations: 63.94 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * 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.0008612/0.4932, allocations: 0.842 MB / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.4937, allocations: 423.7 kB / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4937, allocations: 4 kB / 1.371 GB, free: 5.531 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.4939, allocations: 153 kB / 1.371 GB, free: 5.363 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.494, allocations: 6.188 kB / 1.371 GB, free: 5.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.4967, allocations: 2.448 MB / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.653e-05/0.4968, allocations: 79.19 kB / 1.374 GB, free: 2.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.869e-06/0.4968, allocations: 3.938 kB / 1.374 GB, free: 2.656 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.4968, allocations: 15.44 kB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/0.4968, allocations: 0 / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/0.5324, allocations: 3.916 MB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.76, allocations: 4.75 kB / 1.378 GB, free: 14.86 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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: 19.028927281033248]