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.001506/0.001506, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001618/0.001618, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9748/0.9748, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.713/1.713, allocations: 359 MB / 0.6052 GB, free: 11.02 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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.596e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001238/0.001264, allocations: 0.6288 MB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.002718, allocations: 1.425 MB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.002747, allocations: 1.156 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.538e-05/0.002802, allocations: 0 / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.002845, allocations: 8.5 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.003423, allocations: 181.1 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.563e-05/0.003519, allocations: 48.55 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.142e-05/0.003551, allocations: 0 / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.003597, allocations: 29.56 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.003645, allocations: 27.89 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.003658, allocations: 4 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.003935, allocations: 211.6 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.003975, allocations: 19.38 kB / 0.7897 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.004008, allocations: 11.98 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.004242, allocations: 223.5 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.004246, allocations: 3.984 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.004247, allocations: 0 / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.004251, allocations: 0 / 0.7899 GB, free: 9.613 MB / 0.7448 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.0003524/0.004604, allocations: 471.6 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.004639, allocations: 8.031 kB / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.004685, allocations: 12.83 kB / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.004777, allocations: 122.8 kB / 0.7905 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.004789, allocations: 4.375 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.0048, allocations: 4.969 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.004952, allocations: 117.6 kB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.004957, allocations: 192 / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.004968, allocations: 4.375 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.004974, allocations: 3.938 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.005038, allocations: 86.77 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.005145, allocations: 132.6 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.005235, allocations: 112.7 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/0.0053, allocations: 94.33 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-06/0.005304, allocations: 0 / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.005328, allocations: 37.39 kB / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.005329, allocations: 0.5625 kB / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002885/0.005617, allocations: 299.8 kB / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.005658, allocations: 85.05 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.005761, allocations: 201.8 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.005773, allocations: 30.48 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.005824, allocations: 142.9 kB / 0.7918 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.005843, allocations: 9.062 kB / 0.7918 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.005883, allocations: 35.36 kB / 0.7918 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005984, allocations: 0.4884 MB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.757e-05/0.006081, allocations: 140.8 kB / 0.7924 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.006162, allocations: 139.3 kB / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.006326, allocations: 248.7 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.006328, allocations: 0 / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002244/0.006552, allocations: 344.8 kB / 0.7931 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.006593, allocations: 73.83 kB / 0.7932 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.0066, allocations: 7.969 kB / 0.7932 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006612, allocations: 1.375 kB / 0.7932 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.006614, allocations: 0 / 0.7932 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.00662, allocations: 3.938 kB / 0.7932 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.006713, allocations: 12.59 kB / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.006723, allocations: 4 kB / 0.7932 GB, free: 5.867 MB / 0.7448 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.13e-05/0.006805, allocations: 192.2 kB / 0.7934 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.006818, allocations: 11.95 kB / 0.7934 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.38e-05/0.006832, allocations: 4.344 kB / 0.7934 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.006834, allocations: 0 / 0.7934 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.00684, allocations: 8.562 kB / 0.7934 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.006842, allocations: 0 / 0.7934 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.546e-05/0.006917, allocations: 137.3 kB / 0.7936 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006918, allocations: 0 / 0.7936 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-06/0.006919, allocations: 1.219 kB / 0.7936 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006921, allocations: 0 / 0.7936 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.006928, allocations: 3.938 kB / 0.7936 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006931, allocations: 4.625 kB / 0.7936 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006932, allocations: 0 / 0.7936 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.007122, allocations: 264.2 kB / 0.7938 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-06/0.007131, allocations: 7.953 kB / 0.7938 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.007145, allocations: 5.125 kB / 0.7938 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.197e-05/0.007177, allocations: 4 kB / 0.7939 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.007232, allocations: 11.98 kB / 0.7939 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.007237, allocations: 4.969 kB / 0.7939 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.007281, allocations: 139.2 kB / 0.794 GB, free: 5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007281, allocations: 4.844 kB / 0.794 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002114/0.007492, allocations: 67.86 kB / 0.7941 GB, free: 4.93 MB / 0.7448 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.0002137/0.007706, allocations: 157.4 kB / 0.7942 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.007967, allocations: 383.5 kB / 0.7946 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007969, allocations: 0 / 0.7946 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.072e-05/0.008059, allocations: 160.7 kB / 0.7947 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.008172, allocations: 10.69 kB / 0.7947 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.008455, allocations: 236.4 kB / 0.795 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.312e-05/0.008488, allocations: 67.28 kB / 0.795 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.821e-06/0.008494, allocations: 3.984 kB / 0.795 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.008507, allocations: 8.5 kB / 0.7951 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.008508, allocations: 0 / 0.7951 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of Templates: time 0.004072/0.01258, allocations: 2.424 MB / 0.7974 GB, free: 1.406 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8224490359425545]