Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001186/0.001186, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001272/0.001272, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9091/0.9091, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.718/1.718, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.9506 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.047e-05, allocations: 6.219 kB / 0.9506 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001313/0.001333, allocations: 0.6073 MB / 0.9512 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.002695, allocations: 1.393 MB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.00272, allocations: 0 / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.283e-05/0.002773, allocations: 3.938 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.002809, allocations: 11.92 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.003349, allocations: 178.5 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.003454, allocations: 51.88 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.003491, allocations: 4 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.00354, allocations: 19.98 kB / 0.9528 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.003588, allocations: 23.97 kB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.0036, allocations: 0 / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.003866, allocations: 219.6 kB / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.003912, allocations: 8 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.003944, allocations: 19.92 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.004174, allocations: 235.4 kB / 0.9533 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004176, allocations: 0 / 0.9533 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.143e-06/0.004177, allocations: 3.938 kB / 0.9533 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.004182, allocations: 0 / 0.9533 GB, free: 0.6641 MB / 0.9011 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.0003232/0.004505, allocations: 371.1 kB / 0.9536 GB, free: 268 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.00454, allocations: 8.031 kB / 0.9536 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.621e-05/0.004566, allocations: 38.75 kB / 0.9537 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.004595, allocations: 8.891 kB / 0.9537 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.531e-05/0.00467, allocations: 117.7 kB / 0.9538 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.00468, allocations: 384 / 0.9538 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.00469, allocations: 4.375 kB / 0.9538 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.004843, allocations: 119.9 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.00485, allocations: 192 / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.004863, allocations: 8.125 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004869, allocations: 3.984 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.005069, allocations: 89.66 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.005183, allocations: 144.7 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/0.005275, allocations: 108.2 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.005342, allocations: 94.59 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-06/0.005349, allocations: 8 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.005368, allocations: 30.56 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.005369, allocations: 0 / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0003001/0.005669, allocations: 314.5 kB / 0.9547 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.005703, allocations: 81.11 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.005788, allocations: 145.7 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.005799, allocations: 29.7 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.005848, allocations: 103.9 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.005865, allocations: 7.953 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.005903, allocations: 29.7 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.005973, allocations: 322.9 kB / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.006083, allocations: 167.3 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.006181, allocations: 167.3 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.00637, allocations: 289.9 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006371, allocations: 0 / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002583/0.00663, allocations: 392.2 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.006673, allocations: 73.58 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.006679, allocations: 3.938 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.006691, allocations: 4 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.006691, allocations: 0 / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.006696, allocations: 3.938 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.006825, allocations: 19.94 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.006837, allocations: 4 kB / 0.9564 GB, free: 13.09 MB / 0.9167 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 8.02e-05/0.006917, allocations: 147.5 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.006927, allocations: 8.094 kB / 0.9566 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.006944, allocations: 20.2 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006947, allocations: 4 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.00695, allocations: 0 / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006954, allocations: 3.984 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.222e-05/0.007026, allocations: 132.8 kB / 0.9567 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007027, allocations: 0 / 0.9567 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.007028, allocations: 4 kB / 0.9567 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.007029, allocations: 0 / 0.9567 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.007044, allocations: 11.92 kB / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.007045, allocations: 0 / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.007047, allocations: 0 / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.007242, allocations: 256.4 kB / 0.957 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.00725, allocations: 11.89 kB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.007264, allocations: 7.875 kB / 0.957 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.007297, allocations: 4 kB / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.00735, allocations: 11.98 kB / 0.957 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.007354, allocations: 8.031 kB / 0.957 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.0074, allocations: 103.2 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007401, allocations: 3.938 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002208/0.007621, allocations: 63.94 kB / 0.9572 GB, free: 12.21 MB / 0.9167 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.0004835/0.008105, allocations: 0.8382 MB / 0.958 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.008395, allocations: 431.6 kB / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008396, allocations: 0 / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.008484, allocations: 153 kB / 0.9586 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.008596, allocations: 8.094 kB / 0.9586 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.01025, allocations: 2.458 MB / 0.961 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.0103, allocations: 75.31 kB / 0.961 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.39e-06/0.0103, allocations: 4 kB / 0.961 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.01033, allocations: 16.5 kB / 0.9611 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.01033, allocations: 0 / 0.9611 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.02579, allocations: 4.053 MB / 0.965 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.041, allocations: 10.69 kB / 0.965 GB, free: 4.055 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.053861058317125]