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.001023/0.001023, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001277/0.001277, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9766/0.9766, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 2.317/2.317, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.431e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001641/0.001665, allocations: 0.6337 MB / 0.8904 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.003158, allocations: 1.416 MB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.003191, allocations: 3.938 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.862e-05/0.00326, allocations: 0 / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.003313, allocations: 3.938 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.003892, allocations: 183.5 kB / 0.892 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.003994, allocations: 47.95 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.004031, allocations: 7.984 kB / 0.8921 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.004082, allocations: 23.91 kB / 0.8921 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.004136, allocations: 27.91 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.004148, allocations: 0 / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.004407, allocations: 211.7 kB / 0.8923 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.004452, allocations: 11.94 kB / 0.8923 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.004479, allocations: 19.92 kB / 0.8923 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.004724, allocations: 231.4 kB / 0.8926 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004726, allocations: 4 kB / 0.8926 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004727, allocations: 0 / 0.8926 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.00473, allocations: 0 / 0.8926 GB, free: 6.875 MB / 0.8542 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.0003583/0.005088, allocations: 475.5 kB / 0.893 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.005131, allocations: 12.62 kB / 0.893 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.005165, allocations: 8.891 kB / 0.893 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.279e-05/0.005248, allocations: 112.6 kB / 0.8931 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.005258, allocations: 384 / 0.8931 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.005266, allocations: 4.375 kB / 0.8931 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.00538, allocations: 103.9 kB / 0.8932 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.005387, allocations: 192 / 0.8932 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.005394, allocations: 4.375 kB / 0.8932 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.005401, allocations: 7.938 kB / 0.8933 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.005447, allocations: 61.67 kB / 0.8933 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.005552, allocations: 113.2 kB / 0.8934 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.411e-05/0.005616, allocations: 84.78 kB / 0.8935 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.005657, allocations: 69.44 kB / 0.8936 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-06/0.00566, allocations: 0 / 0.8936 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.005688, allocations: 45.33 kB / 0.8936 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.005689, allocations: 0 / 0.8936 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002219/0.005911, allocations: 230.7 kB / 0.8938 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.005944, allocations: 81.14 kB / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.006041, allocations: 207.6 kB / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.006054, allocations: 25.7 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.006101, allocations: 146.8 kB / 0.8943 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.006116, allocations: 3.953 kB / 0.8943 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.006152, allocations: 39.34 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.00626, allocations: 0.4884 MB / 0.8948 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.006326, allocations: 111.3 kB / 0.8949 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.006381, allocations: 107.3 kB / 0.895 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.006496, allocations: 188.5 kB / 0.8952 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.006499, allocations: 12.02 kB / 0.8952 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001667/0.006665, allocations: 260.3 kB / 0.8954 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.006702, allocations: 71.39 kB / 0.8955 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006707, allocations: 3.984 kB / 0.8955 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.006718, allocations: 0 / 0.8955 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.00672, allocations: 4 kB / 0.8955 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.006722, allocations: 0 / 0.8955 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.006788, allocations: 15.83 kB / 0.8955 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.006797, allocations: 4 kB / 0.8955 GB, free: 3.492 MB / 0.8542 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 6.988e-05/0.006867, allocations: 190.3 kB / 0.8957 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.006878, allocations: 15.92 kB / 0.8957 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.006897, allocations: 12.34 kB / 0.8957 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006899, allocations: 0 / 0.8957 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006901, allocations: 0 / 0.8957 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006904, allocations: 3.938 kB / 0.8957 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.007e-05/0.006964, allocations: 105.2 kB / 0.8958 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.006965, allocations: 0 / 0.8958 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-06/0.006966, allocations: 4 kB / 0.8958 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006967, allocations: 0 / 0.8958 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.006973, allocations: 0 / 0.8958 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006975, allocations: 3.984 kB / 0.8959 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006975, allocations: 4 kB / 0.8959 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.00712, allocations: 219.7 kB / 0.8961 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.007128, allocations: 7.953 kB / 0.8961 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.007138, allocations: 0 / 0.8961 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.506e-05/0.007163, allocations: 4 kB / 0.8961 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.007206, allocations: 15.98 kB / 0.8961 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.007209, allocations: 0 / 0.8961 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.007258, allocations: 145.1 kB / 0.8962 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007258, allocations: 0 / 0.8962 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001792/0.007437, allocations: 71.86 kB / 0.8963 GB, free: 2.621 MB / 0.8542 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.0001939/0.007631, allocations: 163.1 kB / 0.8965 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.007859, allocations: 319.4 kB / 0.8968 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007861, allocations: 0 / 0.8968 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.007935, allocations: 136.8 kB / 0.8969 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.008044, allocations: 4 kB / 0.8969 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.008296, allocations: 216.4 kB / 0.8971 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.504e-05/0.008331, allocations: 63.34 kB / 0.8972 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.871e-06/0.008337, allocations: 0 / 0.8972 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.008416, allocations: 82.2 kB / 0.8972 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.008417, allocations: 8.062 kB / 0.8972 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of Templates: time 0.004042/0.01246, allocations: 2.418 MB / 0.8996 GB, free: 15.11 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.223355649039149]